From: JinWang An Date: Mon, 27 Mar 2023 08:03:00 +0000 (+0900) Subject: Imported Upstream version 67.3.2 X-Git-Tag: upstream/67.3.2^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3de1cb985a4b7626e70c90c0da0b6574d214d9e0;p=platform%2Fupstream%2Fpython-setuptools.git Imported Upstream version 67.3.2 --- diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 573fc76..e39a80e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 67.3.1 +current_version = 67.3.2 commit = True tag = True diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 672acd1..1c42bf5 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -95,8 +95,13 @@ body: label: How to Reproduce description: >- Describe the steps to reproduce this bug. + + Please try to create a [minimal reproducer](https://stackoverflow.com/help/minimal-reproducible-example), + and avoid things like "see the steps in the CI logs". placeholder: | - 1. Integrate setuptools via '...' + 1. Clone a simplified example: `git clone ...` + 2. Create a virtual environment for isolation with `...` + 2. Build the project with setuptools via '...' 2. Then run '...' 3. An error occurs. validations: diff --git a/CHANGES.rst b/CHANGES.rst index e2229e8..2ea02d3 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,13 @@ +v67.3.2 +------- + + +Misc +^^^^ +* #3827: Improve deprecation warning message on ``pkg_resources.declare_namespace`` + to display package name. + + v67.3.1 ------- diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index aed691a..1eb3f9e 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2289,6 +2289,7 @@ def declare_namespace(packageName): """Declare that package 'packageName' is a namespace package""" msg = ( + f"Deprecated call to `pkg_resources.declare_namespace({packageName!r})`.\n" "Implementing implicit namespace packages (as specified in PEP 420) " "is preferred to `pkg_resources.declare_namespace`. " "See https://setuptools.pypa.io/en/latest/references/" diff --git a/setup.cfg b/setup.cfg index 30bb742..90259f3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = setuptools -version = 67.3.1 +version = 67.3.2 author = Python Packaging Authority author_email = distutils-sig@python.org description = Easily download, build, install, upgrade, and uninstall Python packages