diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8d101ab5af..1236141a7c 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 69.1.1 +current_version = 69.2.0 commit = True tag = True diff --git a/NEWS.rst b/NEWS.rst index abc4bb3f04..2e849bdc5f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -1,3 +1,28 @@ +v69.2.0 +======= + +Features +-------- + +- Explicitly use ``encoding="locale"`` for ``.pth`` files whenever possible, + to reduce ``EncodingWarnings``. + This avoid errors with UTF-8 (see discussion in python/cpython#77102). (#4265) + + +Bugfixes +-------- + +- Clarify some `pkg_resources` methods return `bytes`, not `str`. Also return an empty `bytes` in ``EmptyProvider._get`` -- by :user:`Avasam` (#4243) +- Return an empty `list` by default in ``pkg_resources.ResourceManager.cleanup_resources`` -- by :user:`Avasam` (#4244) +- Made ``pkg_resoursces.NullProvider``'s ``has_metadata`` and ``metadata_isdir`` methods return actual booleans like all other Providers. -- by :user:`Avasam` (#4254) + + +Misc +---- + +- #4237, #4238, #4241, #4260, #4261, #4263 + + v69.1.1 ======= diff --git a/newsfragments/4237.misc.rst b/newsfragments/4237.misc.rst deleted file mode 100644 index 995bee20e1..0000000000 --- a/newsfragments/4237.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Drop dependency on `py`. Bump ``pytest-xdist`` to ``>=3`` and use `pathlib` instead in tests -- by :user:`Avasam` diff --git a/newsfragments/4238.misc.rst b/newsfragments/4238.misc.rst deleted file mode 100644 index a7ccfc911e..0000000000 --- a/newsfragments/4238.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Drop dependency on Flake8 by using Ruff's YTT rules instead of flake8-2020 -- by :user:`Avasam` diff --git a/newsfragments/4241.misc.rst b/newsfragments/4241.misc.rst deleted file mode 100644 index ef6da2c323..0000000000 --- a/newsfragments/4241.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improvements to `Path`-related type annotations when it could be ``str | PathLike`` -- by :user:`Avasam` diff --git a/newsfragments/4243.bugfix.rst b/newsfragments/4243.bugfix.rst deleted file mode 100644 index e8212721f3..0000000000 --- a/newsfragments/4243.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Clarify some `pkg_resources` methods return `bytes`, not `str`. Also return an empty `bytes` in ``EmptyProvider._get`` -- by :user:`Avasam` diff --git a/newsfragments/4244.bugfix.rst b/newsfragments/4244.bugfix.rst deleted file mode 100644 index 5d606de718..0000000000 --- a/newsfragments/4244.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Return an empty `list` by default in ``pkg_resources.ResourceManager.cleanup_resources`` -- by :user:`Avasam` diff --git a/newsfragments/4254.bugfix.rst b/newsfragments/4254.bugfix.rst deleted file mode 100644 index e944fcfb49..0000000000 --- a/newsfragments/4254.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Made ``pkg_resoursces.NullProvider``'s ``has_metadata`` and ``metadata_isdir`` methods return actual booleans like all other Providers. -- by :user:`Avasam` diff --git a/newsfragments/4260.misc.rst b/newsfragments/4260.misc.rst deleted file mode 100644 index 9dfde3498d..0000000000 --- a/newsfragments/4260.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Remove unused ``resources_stream`` ``resource_dir`` and shadowed functions from `pkg_resources` -- by :user:`Avasam` diff --git a/newsfragments/4261.misc.rst b/newsfragments/4261.misc.rst deleted file mode 100644 index 83c10f0f66..0000000000 --- a/newsfragments/4261.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid implicit ``encoding`` parameter in ``setuptools/tests``. diff --git a/newsfragments/4263.misc.rst b/newsfragments/4263.misc.rst deleted file mode 100644 index f84eb8dd42..0000000000 --- a/newsfragments/4263.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid implicit ``encoding`` parameter in ``pkg_resources/tests``. diff --git a/newsfragments/4265.feature.rst b/newsfragments/4265.feature.rst deleted file mode 100644 index bcb0467205..0000000000 --- a/newsfragments/4265.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Explicitly use ``encoding="locale"`` for ``.pth`` files whenever possible, -to reduce ``EncodingWarnings``. -This avoid errors with UTF-8 (see discussion in python/cpython#77102). diff --git a/setup.cfg b/setup.cfg index c41b226e0c..9b504dd39b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = setuptools -version = 69.1.1 +version = 69.2.0 author = Python Packaging Authority author_email = distutils-sig@python.org description = Easily download, build, install, upgrade, and uninstall Python packages