Skip to content
New issue

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

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

Already on GitHub? # to your account

Formally define traits in swagger parser #346

Merged
merged 1 commit into from
Sep 27, 2020

Conversation

kevin-bates
Copy link
Member

The CI tests for Python 3.7 and 3.8 have started failing recently. It turns out the traitlets 5.0.4 release has removed some deprecated functionality from traitlets 4.2. Since the older python tests still use 4.3.3, they continue working. The removed functionality had to do with member fields getting initialized from same-named keyword arguments without having been "typed" as a trait.

By defining these fields as traits, the expected initialization from keyword arguments occurs (on both versions of traitlets).

@kevin-bates kevin-bates merged commit d63af55 into jupyter-server:master Sep 27, 2020
@kevin-bates
Copy link
Member Author

I've gone ahead with an unreviewed merge to try to address doc build issues more clearly.

@kevin-bates kevin-bates deleted the update_traits branch February 1, 2021 23:15
@blink1073 blink1073 added this to the 2.5 milestone Apr 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants