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

Updating league/flysystem minimum #516

Closed
wants to merge 1 commit into from
Closed

Conversation

dawb
Copy link

@dawb dawb commented Sep 21, 2022

Updating to minimum version of ^1.1.0 to align with the minimum requirements with fullscreeninteractive/silverstripe-azure-blob-storage.

Latest version of 1 is 1.1.9

Updating to minimum version of ^1.1.0 to align with the minimum requirements with fullscreeninteractive/silverstripe-azure-blob-storage. 

Latest version of 1 is 1.1.9
@michalkleiner
Copy link
Contributor

@dawb the reason for an update shouldn't be aligning with another 3rd party module.
Also requiring ^1.1.0 might be too new for some other dependencies and cause issues elsewhere.

What if the dependency constraint got relaxed to ^1.0 which would work for both this module and the azure blob storage module?

It's also what silverstripe/silverstripe-s3 uses.

@kinglozzer
Copy link
Member

^1.0.70 should already allow you to install 1.1.19, IIRC it’s the “tilde” operator (~1.0.70) that would restrict you to 1.0.x releases only

@dawb
Copy link
Author

dawb commented Sep 26, 2022

Thanks @kinglozzer , currently it doesn't allow for the install as it comes back that assets 1.11.0 only satisfies with 1.0.70 (see screenshot below).

If @michalkleiner 's solution opens up this requirement, could we use that as a solution instead? I understand that we shouldn't be updating based on other module requirements but currently it's also limiting requirements.

Screen Shot 2022-09-27 at 11 26 01 AM

@kinglozzer
Copy link
Member

Are you running the latest version of composer? ^1.0.70 should definitely allow 1.1.9 to be installed: https://getcomposer.org/doc/articles/versions.md#caret-version-range-

@dawb
Copy link
Author

dawb commented Sep 28, 2022

@kinglozzer we are using composer 2.4.2

@kinglozzer
Copy link
Member

What happens if you add "league/flysystem": "^1.1.0" to your root composer.json?

@dawb
Copy link
Author

dawb commented Sep 28, 2022

Thanks @kinglozzer , that resolves that issue. The league/filesystem is actually required by version 3.0 or higher. Is there a plan in the near future to upgrade this module to work with version 3 of league/flysystem?

@kinglozzer
Copy link
Member

Yep, that’s being tracked here for CMS5: #497

@kinglozzer kinglozzer closed this Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants