Skip to content

Update aniso8601 dependency to allow versions 4+. #935

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

Merged
merged 2 commits into from
May 7, 2019
Merged

Update aniso8601 dependency to allow versions 4+. #935

merged 2 commits into from
May 7, 2019

Conversation

crunk1
Copy link
Contributor

@crunk1 crunk1 commented Apr 5, 2019

I accidentally updated my local aniso8601 to 6.0.0. My projects were running fine with graphene==2.1.3 and aniso8601==6.0.0. Later, I noticed the pip warnings telling me they were incompatible versions.

I ran tox against aniso8601 versions 4.0.0, 5.0.0, and 6.0.0 and compared against the results from running against 3.0.2. Results look the same at a glance.

@ekampf
Copy link
Contributor

ekampf commented Apr 8, 2019

Why not just update to ~=6.0.0 ?

@crunk1
Copy link
Contributor Author

crunk1 commented Apr 8, 2019

To not break people on aniso8601 3.x-5.x

@ekampf
Copy link
Contributor

ekampf commented Apr 10, 2019

@crunk1 it feels wrong. Saying any version>=3 is just like saying no version dependency at all...
aniso8601 might break something in version 7 and we wont know...
I'd rather have >=3, <=6.0.0 to be safe

@crunk1
Copy link
Contributor Author

crunk1 commented Apr 12, 2019

Updated. I don't know what your thoughts are on allowing future compatibility changes, but take a look.

@ekampf ekampf requested a review from dan98765 May 2, 2019 16:37
@ekampf ekampf merged commit a5162e9 into graphql-python:master May 7, 2019
@helloqiu
Copy link

Hi there.I received the same warning as @crunk1 and I found this PR.
Do the maintainers of this project have plans on using apps like renovate for automated dependencies updating? Renovate can make PRs automatically as long as the upstream publish new versions, and tests and changelog can tell whether the updates may break graphene.

@dvndrsn
Copy link
Contributor

dvndrsn commented May 26, 2019

Pyup is nice too: https://pyup.io/

AdrianLC added a commit to AdrianLC/graphene that referenced this pull request Jun 5, 2019
This was changed on graphql-python#935 to fix a warning when installing newer versions but we are now getting an error that 6.0.0 doesn't match 6.0.*: ```
ERROR: graphene 2.1.5 has requirement aniso8601<=6.0.*,>=3, but you'll have aniso8601 6.0.0 which is incompatible.
```
I don't think that the `*` are recognized as the same version than.
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.

6 participants