Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow newer composer dependencies #935

Open
davidcoutadeur opened this issue Jul 3, 2024 · 2 comments
Open

allow newer composer dependencies #935

davidcoutadeur opened this issue Jul 3, 2024 · 2 comments
Assignees
Milestone

Comments

@davidcoutadeur
Copy link

Currently, composer dependencies are limited to platform php 7.4

in composer.json:

    "config": {
        "platform": {
            "php": "7.4"
        }
    }

We should benefit from newer composer dependencies by removing this limit.

@davidcoutadeur davidcoutadeur self-assigned this Jul 3, 2024
@davidcoutadeur davidcoutadeur added this to the 1.6.1 milestone Jul 3, 2024
@coudot
Copy link
Member

coudot commented Jul 3, 2024

This was linked to #897

@davidcoutadeur davidcoutadeur removed this from the 1.6.1 milestone Jul 3, 2024
@davidcoutadeur
Copy link
Author

The main problem is that we currently provide a common tarball that is the source for all operating systems / versions of php. This tarball is also used for building the rpm and deb packages.

This is a actually a limitation, preventing us from having the last dependencies. On the other hand, having different versions for some dependencies in the final packages can lead to untested dependencies, and this in incompatibilities.

Two ways for managing this:

  • provide multiple tarballs: one for each distribution, with the appropriate dependencies updated
  • provide a unique tarball without the dependencies. The rpm/deb packaging system must then pull these dependencies at build time (composer update)

This require structural changes in the release process, and must be correctly evaluated.

@coudot coudot added this to the Backlog milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants