- 🇳🇱Netherlands megachriz
Feeds multilingual issues are now tagged with multilanguage → .
- 🇳🇱Netherlands megachriz
@tonytheferg
The latest Feeds release is expected to be compatible with Drupal 10 + PHP 8.2. Tests are passing → on that combination. Previously, there were issues installing Feeds on PHP 8.2 because a dependency was not declared compatible with PHP 8.2 yet. That issue has now been resolved in the dependency itself. No changes in Feeds were required afterwards, so that's why the current latest release should be PHP 8.2 compatible now. See 📌 Add PHP 8.2 support Fixed for more information. Huh. I tried yesterday and got blocked by composer dependency.
- 🇹🇷Turkey orkut murat yılmaz Istanbul
@tonytheferg, this is my composer output:
$ composer require 'drupal/feeds:^3.0@beta' ✔ Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update drupal/feeds Loading composer repositories with package information Updating dependencies Lock file operations: 4 installs, 0 updates, 0 removals - Locking drupal/feeds (3.0.0-beta4) - Locking laminas/laminas-escaper (2.12.0) - Locking laminas/laminas-feed (2.21.0) - Locking laminas/laminas-stdlib (3.17.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 4 installs, 0 updates, 0 removals - Installing laminas/laminas-stdlib (3.17.0): Extracting archive - Installing laminas/laminas-escaper (2.12.0): Extracting archive - Installing laminas/laminas-feed (2.21.0): Extracting archive - Installing drupal/feeds (3.0.0-beta4): Extracting archive 5 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 60 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found
Also, output of my drush pml is:
$ drush pml --------------------------------- ------------------------------------------------------------------------------------ ---------- ---------------- Package Name Status Version --------------------------------- ------------------------------------------------------------------------------------ ---------- ---------------- Core Actions UI (action) Disabled 10.1.2 Core (Experimental) Announcements (announcements_feed) Disabled 10.1.2 Core Automated Cron (automated_cron) Enabled 10.1.2 Core Ban (ban) Enabled 10.1.2 Web services HTTP Basic Authentication (basic_auth) Disabled 10.1.2 Core BigPipe (big_pipe) Enabled 10.1.2 Core Block (block) Enabled 10.1.2 Core Block Content (block_content) Enabled 10.1.2 Core Book (book) Disabled 10.1.2 Core Breakpoint (breakpoint) Enabled 10.1.2 Core CKEditor 5 (ckeditor5) Enabled 10.1.2 Core Comment (comment) Disabled 10.1.2 Core Configuration Manager (config) Enabled 10.1.2 Multilingual Configuration Translation (config_translation) Enabled 10.1.2 Core Contact (contact) Disabled 10.1.2 Core Content Moderation (content_moderation) Disabled 10.1.2 Multilingual Content Translation (content_translation) Enabled 10.1.2 Core Contextual Links (contextual) Enabled 10.1.2 Field types Datetime (datetime) Enabled 10.1.2 Field types Datetime Range (datetime_range) Enabled 10.1.2 Core Database Logging (dblog) Enabled 10.1.2 Core Internal Dynamic Page Cache (dynamic_page_cache) Enabled 10.1.2 Core Text Editor (editor) Enabled 10.1.2 Core Field (field) Enabled 10.1.2 Core (Experimental) Field Layout (field_layout) Disabled 10.1.2 Core Field UI (field_ui) Enabled 10.1.2 Field types File (file) Enabled 10.1.2 Core Filter (filter) Enabled 10.1.2 Core Forum (forum) Disabled 10.1.2 Core Help (help) Disabled 10.1.2 Core (Experimental) Help Topics (help_topics) Disabled 10.1.2 Core History (history) Enabled 10.1.2 Field types Image (image) Enabled 10.1.2 Core Inline Form Errors (inline_form_errors) Disabled 10.1.2 Web services JSON:API (jsonapi) Disabled 10.1.2 Multilingual Language (language) Enabled 10.1.2 Core Layout Builder (layout_builder) Disabled 10.1.2 Core Layout Discovery (layout_discovery) Disabled 10.1.2 Field types Link (link) Enabled 10.1.2 Multilingual Interface Translation (locale) Enabled 10.1.2 Core Media (media) Enabled 10.1.2 Core Media Library (media_library) Enabled 10.1.2 Core Custom Menu Links (menu_link_content) Enabled 10.1.2 Core Menu UI (menu_ui) Enabled 10.1.2 Migration Migrate (migrate) Disabled 10.1.2 Migration Migrate Drupal (migrate_drupal) Disabled 10.1.2 Migration Migrate Drupal UI (migrate_drupal_ui) Disabled 10.1.2 Core MySQL (mysql) Disabled 10.1.2 Core Node (node) Enabled 10.1.2 Field types Options (options) Enabled 10.1.2 Core Internal Page Cache (page_cache) Enabled 10.1.2 Core Path (path) Enabled 10.1.2 Core Path alias (path_alias) Enabled 10.1.2 Core PostgreSQL (pgsql) Enabled 10.1.2 Core Password Compatibility (phpass) Disabled 10.1.2 Core Responsive Image (responsive_image) Disabled 10.1.2 Web services RESTful Web Services (rest) Disabled 10.1.2 Core (Experimental) Single Directory Components (sdc) Disabled 10.1.2 Core Search (search) Enabled 10.1.2 Web services Serialization (serialization) Disabled 10.1.2 Core Settings Tray (settings_tray) Disabled 10.1.2 Core Shortcut (shortcut) Enabled 10.1.2 Core SQLite (sqlite) Disabled 10.1.2 Core Statistics (statistics) Disabled 10.1.2 Core Syslog (syslog) Disabled 10.1.2 Core System (system) Enabled 10.1.2 Core Taxonomy (taxonomy) Enabled 10.1.2 Field types Telephone (telephone) Enabled 10.1.2 Field types Text (text) Enabled 10.1.2 Core Toolbar (toolbar) Enabled 10.1.2 Core Tour (tour) Disabled 10.1.2 Core Activity Tracker (tracker) Disabled 10.1.2 Core Update Manager (update) Enabled 10.1.2 Core User (user) Enabled 10.1.2 Core Views (views) Enabled 10.1.2 Core Views UI (views_ui) Enabled 10.1.2 Core Workflows (workflows) Disabled 10.1.2 Core (Experimental) Workspaces (workspaces) Disabled 10.1.2 Development Devel (devel) Disabled 5.1.2 Development Devel Generate (devel_generate) Enabled 5.1.2 Feeds Feeds (feeds) Enabled 8.x-3.0-beta4 Feeds Feeds Log (feeds_log) Disabled 8.x-3.0-beta4
Maybe it is about your composer configuration?
ddev composer require 'drupal/feeds:^3.0@beta' ./composer.json has been updated Running composer update drupal/feeds Gathering patches for root package. > DrupalComposerManaged\ComposerScripts::preUpdate Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - laminas/laminas-text 2.9.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.0; overridden via config.platform, actual: 8.2.8) does not satisfy that requirement. - drupal/upgrade_status 4.0.0 requires mathieuviossat/arraytotexttable ~1.0.0 -> satisfiable by mathieuviossat/arraytotexttable[v1.0.9]. - mathieuviossat/arraytotexttable v1.0.9 requires laminas/laminas-text ^2.9 -> satisfiable by laminas/laminas-text[2.9.0]. - drupal/upgrade_status is locked to version 4.0.0 and an update of this package was not requested. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
- 🇳🇱Netherlands megachriz
@tonytheferg
Hm. At first glance that looks related to the dependency "laminas/laminas-servicemanager":- laminas/laminas-text v2.9 is not compatible with PHP 8.2 and requires laminas/laminas-servicemanager ^3.4
- laminas/laminas-text v2.10 is compatible with PHP 8.2 and requires laminas/laminas-servicemanager ^3.19.0
- laminas/laminas-servicemanager > 3.16 < 4.0 is not compatible with Drupal 10, because that version of laminas/laminas-servicemanager requires psr/container: ^1.0 while Drupal 10 requires psr/container: ^2.0.
I don't know yet why you get the error while you try to require Feeds. Because laminas/laminas-feed does not require laminas/laminas-text and since v2.21.0 it no longer requires laminas/laminas-servicemanager either.
It would have made more sense that you weren't able to require drupal/upgrade_status on PHP 8.2. Or does this happen on a Drupal 9 install?
- 🇩🇰Denmark ressa Copenhagen
You could try removing Upgrade Status, and see if that helps? 💬 Upgrade status must be uninstalled before upgrading to Drupal 10 Fixed
- 🇳🇱Netherlands megachriz
@tonytheferg
Okay, when I try to require drupal/upgrade_status, it picks mathieuviossat/arraytotexttable 1.0.7 which still requires zendframework packages. zendframework packages have been replaced by laminas, so I would call zendframework packages to be "outdated".So the possible solutions that I can think of right now are:
- Do not use drupal/upgrade_status.
- Ask upgrade_status module to find a replacement for mathieuviossat/arraytotexttable, because that package now installs outdated dependencies on PHP 8.2.
- Make sure that laminas/laminas-servicemanager gets a stable 4.0 release, which is compatible with Drupal 10. After that, request that laminas/laminas-text is made compatible with laminas/laminas-servicemanager 4.0.
- Ask laminas/laminas-text if the dependency on laminas/laminas-servicemanager can be removed. It was removed for laminas/laminas-feed after I requested to add compatibility with laminas/laminas-servicemanager 4.0.
- Juggle with settings in your composer.json to allow installation of dependencies that are incompatible on paper.
That was it:
Here are the results after removing upgrade status module.ddev composer require 'drupal/feeds:^3.0@beta' Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update drupal/feeds Gathering patches for root package. > DrupalComposerManaged\ComposerScripts::preUpdate Loading composer repositories with package information Updating dependencies Lock file operations: 4 installs, 0 updates, 0 removals - Locking drupal/feeds (3.0.0-beta4) - Locking laminas/laminas-escaper (2.12.0) - Locking laminas/laminas-feed (2.21.0) - Locking laminas/laminas-stdlib (3.17.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 4 installs, 0 updates, 0 removals Gathering patches for root package. Gathering patches for dependencies. This might take a minute. - Installing laminas/laminas-stdlib (3.17.0): Extracting archive - Installing laminas/laminas-escaper (2.12.0): Extracting archive - Installing laminas/laminas-feed (2.21.0): Extracting archive - Installing drupal/feeds (3.0.0-beta4): Extracting archive 5 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files 101 packages you are using are looking for funding. Use the `composer fund` command to find out more! phpstan/extension-installer: Extensions installed Scaffolding files for pantheon-systems/drupal-integrations: - Skip [web-root]/sites/default/settings.php because it already exists and overwrite is false. > DrupalComposerManaged\ComposerScripts::postUpdate No security vulnerability advisories found
- 🇹🇷Turkey orkut murat yılmaz Istanbul
Well, we will be able to use the stable version of feeds 8.3.0 with php8.2, when it's released.
Thank you @MegaChriz and the others too:)