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

Remove some utils now available from jupyter_core 4.6.1, remove pywin32 #357

Closed

Conversation

bollwyvl
Copy link
Contributor

@bollwyvl bollwyvl commented Dec 10, 2020

This:

  • setup.py
    • removes pywin32
    • bumps the minimum jupyter_core to 4.6.1
      • if there were any bugs fixed in ensuing versions in those, we should consider something higher
      • the jupyter_client pin is already sufficient
    • removes nose-*, etc. from test deps (needs nose, still, because ipython_genutils)
  • code
    • replaces functions in utils with shim imports
    • replaces use of those in the codebase with direct imports
  • tests
    • leaves tests with old imports (for now)
  • ci
    • brings over ci updates (e.g. pypy) from master

follow-ons:

  • a window should be declared, perhaps with deprecated (gah, a dependency for my deprecated dependencies) for when those would be removed
    • the 2.x release seems reasonable, since already planned

@codecov-io
Copy link

codecov-io commented Dec 10, 2020

Codecov Report

Merging #357 (a69b19b) into 1.0.x (aec9947) will decrease coverage by 0.18%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##            1.0.x     #357      +/-   ##
==========================================
- Coverage   66.96%   66.78%   -0.19%     
==========================================
  Files          56       56              
  Lines        5513     5467      -46     
  Branches      716      713       -3     
==========================================
- Hits         3692     3651      -41     
- Misses       1593     1594       +1     
+ Partials      228      222       -6     
Impacted Files Coverage Δ
jupyter_server/pytest_plugin.py 50.33% <0.00%> (+0.33%) ⬆️
jupyter_server/gateway/handlers.py 35.92% <28.57%> (+3.47%) ⬆️
jupyter_server/serverapp.py 61.88% <80.00%> (+1.46%) ⬆️
jupyter_server/_version.py 100.00% <100.00%> (ø)
jupyter_server/base/handlers.py 67.04% <100.00%> (-0.61%) ⬇️
jupyter_server/services/contents/filemanager.py 69.46% <100.00%> (+0.10%) ⬆️
jupyter_server/services/kernels/kernelmanager.py 69.56% <100.00%> (+0.12%) ⬆️
jupyter_server/utils.py 69.36% <100.00%> (-6.01%) ⬇️
... and 2 more

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 907db90...f456e13. Read the comment docs.

@bollwyvl
Copy link
Contributor Author

Hm, something isn't happy in windows-land...

@bollwyvl
Copy link
Contributor Author

Hah, pip freeze now hanging on win37...

@bollwyvl
Copy link
Contributor Author

Ah, it's (sometimes) hanging on ipykernel. The yak shave continues!

@bollwyvl
Copy link
Contributor Author

ipython/ipykernel#563

@bollwyvl
Copy link
Contributor Author

ipython/ipykernel#564

@bollwyvl bollwyvl closed this Dec 11, 2020
@bollwyvl bollwyvl reopened this Dec 11, 2020
@bollwyvl
Copy link
Contributor Author

Welp, looks like ipykernel 5.4.0 did not magically fix this...

@bollwyvl
Copy link
Contributor Author

Working on rebuilding a windows VM to see if i can track this down...

@Zsailer
Copy link
Member

Zsailer commented Dec 11, 2020

It looks like CI is still grabbing an old version of ipykernel, i.e. 5.3.4. It should be ==5.4.0.

@Zsailer
Copy link
Member

Zsailer commented Dec 11, 2020

Oops, nevermind. Apparently I clicked on a previous run.

@bollwyvl bollwyvl closed this Dec 12, 2020
@bollwyvl bollwyvl reopened this Dec 12, 2020
@bollwyvl
Copy link
Contributor Author

trying with ipykernel 5.4.2...

@bollwyvl bollwyvl closed this Jan 5, 2021
@bollwyvl bollwyvl reopened this Jan 5, 2021
@bollwyvl bollwyvl changed the base branch from 1.0.x to master January 5, 2021 05:41
@bollwyvl
Copy link
Contributor Author

bollwyvl commented Jan 5, 2021

Hm, this appears totally broken now. It probably makes the most sense to start over entirely

@bollwyvl bollwyvl closed this Jan 5, 2021
Zsailer added a commit to Zsailer/jupyter_server that referenced this pull request Nov 18, 2022
…upyter-server#357)

* relax session manager to keep synching

* Bump to 0.19.3

* update changelog
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.

Is pywin32 actually used?
4 participants