Skip to content

gh-97850: Remove deprecated functions from importlib.utils - #97898

Merged
warsaw merged 2 commits into
python:mainfrom
sobolevn:issue-97850
Oct 7, 2022
Merged

warsaw merged 2 commits into
python:mainfrom
sobolevn:issue-97850

Conversation

@sobolevn

@sobolevn sobolevn commented Oct 5, 2022 •

Copy link
Copy Markdown
Member

I've cleaned up all deprecated functions from importlib.utils:

  • Source
  • Docs
  • Tests

All are gone!

@sobolevn

sobolevn commented Oct 5, 2022

Copy link
Copy Markdown
Member Author

@brettcannon rebased! set_package is removed from the scope of this PR.

@warsaw warsaw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Awesome! Thanks for this long overdue clean up @sobolevn !

@warsaw
warsaw merged commit 27025e1 into python:main Oct 7, 2022
carljm added a commit to carljm/cpython that referenced this pull request Oct 8, 2022
* main:
  pythongh-86298: Ensure that __loader__ and __spec__.loader agree in warnings.warn_explicit() (pythonGH-97803)
  pythongh-82874: Convert remaining importlib format uses to f-str. (python#98005)
  Docs: Fix backtick errors found by sphinx-lint (python#97998)
  pythongh-97850: Remove deprecated functions from `importlib.utils` (python#97898)
  Remove extra spaces in custom openSSL documentation. (python#93568)
  pythonGH-90985: Revert  "Deprecate passing a message into cancel()" (python#97999)
mpage pushed a commit to mpage/cpython that referenced this pull request Oct 11, 2022
…ython#97898)

* pythongh-97850: Remove deprecated functions from `importlib.utils`

* Rebase and remove `set_package` from diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants