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

Clean up deprecations #650

Merged
merged 5 commits into from
Dec 31, 2021
Merged

Conversation

blink1073
Copy link
Collaborator

Fixes #627
Fixes #644
Drops Python 3.6, which is EOL

This requires a minor version release.

@blink1073 blink1073 added this to the 1.14 milestone Dec 30, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 30, 2021

Codecov Report

Merging #650 (3cb1593) into main (3e78339) will increase coverage by 0.16%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #650      +/-   ##
==========================================
+ Coverage   77.79%   77.96%   +0.16%     
==========================================
  Files         110      110              
  Lines       10465    10405      -60     
  Branches     1419     1400      -19     
==========================================
- Hits         8141     8112      -29     
+ Misses       1923     1906      -17     
+ Partials      401      387      -14     
Impacted Files Coverage Δ
jupyter_server/gateway/gateway_client.py 76.19% <ø> (ø)
jupyter_server/traittypes.py 68.64% <100.00%> (+6.84%) ⬆️
jupyter_server/utils.py 65.90% <100.00%> (ø)
jupyter_server/services/kernels/kernelmanager.py 82.53% <0.00%> (-0.64%) ⬇️
jupyter_server/tests/services/kernels/test_api.py 97.60% <0.00%> (+1.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e78339...3cb1593. Read the comment docs.

@@ -232,7 +232,7 @@ def _headers_default(self):
default_value=None,
allow_none=True,
config=True,
help="""The authorization token used in the HTTP headers. The header will be formatted as:
help="""The authorization token used in the HTTP headers. The header will be formatted as::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this extra colon added on purpose?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this docstring is copied directly into an RST file, and was causing warnings without the extra colon.

Copy link
Member

@Zsailer Zsailer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @blink1073. One nitpicky comment, but otherwise looks good.

@blink1073 blink1073 merged commit 5c4441e into jupyter-server:main Dec 31, 2021
@blink1073 blink1073 deleted the fix-deprecation branch December 31, 2021 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning: distutils Version classes are deprecated 1.12.1: sphinx warnings
3 participants