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

Loosen the traitlets version requirement #1760

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

shreve
Copy link
Contributor

@shreve shreve commented Mar 23, 2023

The requirement of a specific traitlets version was first set in commit 35ed7aa to be <5.2 because apparently 5.2 broke tests.

The last time this line was updated was in #1704, where it was bumped up to allow the latest version at the time, 5.6, by setting the value to <5.7. There was an additional change in #1704 which sets a log level, but this seems to be backwards compatible.

These changes seem to no longer be relevant as the test suite now passes with traitlets versions 5.2, 5.7, as well as many others >5. The only version I found to fail was 5.0.0.

This commit loosens the version requirement to allow these other versions of the traitlets package which don't cause known conflicts, as well as allow future minor, but not major version bumps.

The requirement of a specific traitlets version was first set in commit
35ed7aa to be <5.2 because apparently
5.2 broke tests.

The last time this line was updated was in jupyter#1704, where it was bumped up
to allow the latest version at the time, 5.6, by setting the value to
<5.7. There was an additional change in jupyter#1704 which sets a log level,
but this seems to be backwards compatible.

These changes seem to no longer be relevant as the test suite now passes
with traitlets versions 5.2, 5.7, as well as many others >5. The only
version I found to fail was 5.0.0.

This commit loosens the version requirement to allow these other
versions of the traitlets package which don't cause known conflicts, as
well as allow future minor, but not major version bumps.
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch shreve/nbgrader/loosen-traitlets

@brichet brichet added maintenance dependencies Python dependencies labels Mar 23, 2023
@shreve
Copy link
Contributor Author

shreve commented Mar 23, 2023

This would help address #1733 and partially #1688. Also supersedes #1729.

@brichet
Copy link
Contributor

brichet commented Mar 23, 2023

Thanks @shreve, I was planning to do the same before the next release 👍

@shreve
Copy link
Contributor Author

shreve commented Mar 23, 2023

Haha, great timing then! Not sure if you're in the northern hemisphere, but spring is in the air here, and it feels like time for some spring cleaning! 🌷

@brichet brichet merged commit c00a22d into jupyter:main Mar 23, 2023
@shreve shreve deleted the loosen-traitlets branch March 23, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Python dependencies maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants