Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^44.0.0
->^60.0.0
Release Notes
pypa/setuptools
v60.5.0
Compare Source
Changes
^^^^^^^
.origin
attribute of thedistutils
module to the module's__file__
.v60.4.0
Compare Source
Changes
^^^^^^^
requires
sorting when installing wheels as an egg dir.costly modules in
_distutils_hack
-- by :user:tiran
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
sphinx-favicon
.scour
package.
Misc
^^^^
#2862: Added integration tests that focus on building and installing some packages in
the Python ecosystem via
pip
-- by :user:abravalheri
#2952: Modified "vendoring" logic to keep license files.
#2968: Improved isolation for some tests that where inadvertently using the project
root for builds, and therefore creating directories (e.g.
build
,dist
,*.egg-info
) that could interfere with the outcome of other tests-- by :user:
abravalheri
.#2968: Introduced new test fixtures
venv
,venv_without_setuptools
,bare_venv
that rely on thejaraco.envs
package.These new test fixtures were also used to remove the (currently problematic)
dependency on the
pytest_virtualenv
plugin.#2968: Removed
tmp_src
test fixture. Previously this fixture was copying all thefiles and folders under the project root, including the
.git
directory,which is error prone and increases testing time.
Since
tmp_src
was used to populate virtual environments (installing theversion of
setuptools
under test via the source tree), it was replaced bythe new
setuptools_sdist
andsetuptools_wheel
fixtures (that are buildonly once per session testing and can be shared between all the workers for
read-only usage).
v60.3.1
Compare Source
Misc
^^^^
v60.3.0
Compare Source
Changes
^^^^^^^
Misc
^^^^
788cc15
. Includes fix for config vars missing from sysconfig.v60.2.0
Compare Source
Changes
^^^^^^^
distutils.log.*
, uselogging.getLogger(name).*
.2def21c
, including fix for missing get_versions attribute (#2969), more reliance on sysconfig from stdlib.Misc
^^^^
v60.1.1
Compare Source
Misc
^^^^
v60.1.0
Compare Source
Changes
^^^^^^^
a5af364
. Includes revisited fix for pypa/distutils#15 and improved MinGW/Cygwin support from pypa/distutils#77.v60.0.5
Compare Source
Misc
^^^^
v60.0.4
Compare Source
Misc
^^^^
eba2bcd
. Adds platsubdir to config vars available for substitution.v60.0.3
Compare Source
Misc
^^^^
v60.0.2
Compare Source
Misc
^^^^
v60.0.1
Compare Source
Misc
^^^^
v60.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
v59.8.0
Compare Source
Changes
^^^^^^^
460b59f
.v59.7.0
Compare Source
Changes
^^^^^^^
v59.6.0
Compare Source
Changes
^^^^^^^
92082ee
including introduction of deprecation warning on Version classes.v59.5.0
Compare Source
Changes
^^^^^^^
8f2df0b
.v59.4.0
Compare Source
Changes
^^^^^^^
v59.3.0
Compare Source
Changes
^^^^^^^
85db7a4
.Misc
^^^^
v59.2.0
Compare Source
Changes
^^^^^^^
514e9d0
, including support for overrides from Debian and pkgsrc, unlocking the possibility of making SETUPTOOLS_USE_DISTUTILS=local the default again.v59.1.1
Compare Source
Misc
^^^^
v59.1.0
Compare Source
Changes
^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v59.0.1
Compare Source
Misc
^^^^
pytest-virtualenv
insetup.cfg
.PyPI rejects packages with dependencies external to itself.
Instead the test dependency was overwritten via
tox.ini
v58.5.3
Compare Source
Misc
^^^^
build_py
commands inheriting directly from:mod:
distutils
, while still handlinginclude_package_data=True
forsdist
.v58.5.2
Compare Source
Misc
^^^^
v58.5.1
Compare Source
Misc
^^^^
v58.5.0
Compare Source
Changes
^^^^^^^
include_package_data
andpackages_data
in sdistby replacing the loop breaking mechanism between the
sdist
andegg_info
commands -- by :user:abravalheri
v58.4.0
Compare Source
Changes
^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
data_files
option from the example in thedeclarative configuration docs -- by :user:
abravalheri
data_files
option fromdict
tosection
indeclarative configuration docs (to match previous example) -- by
:user:
abravalheri
v58.3.0
Compare Source
Changes
^^^^^^^
setup.py install
andeasy_install
commands are now officially deprecated. Use other standards-based installers (like pip) and builders (like build). Workloads reliant on this behavior should pin to this major version of Setuptools. SeeWhy you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html>
_ for more background.bdist_rpm
command. Binary packages should be built as wheels instead.-- by :user:
hugovk
configparser
'sreadfp
withread_file
, deprecated since Python 3.2.-- by :user:
hugovk
setup_requires
. Users are encouraged instead to migrate to PEP 518build-system.requires
inpyproject.toml
. Users reliant onsetup_requires
should consider pinning to this major version to avoid disruption.Misc
^^^^
-- by :user:
tanvimoharir
v58.2.0
Compare Source
Changes
^^^^^^^
--owner
and--group
options to thesdist
command,for specifying file ownership within the produced tarball (similarly
to the corresponding distutils
sdist
options).Documentation changes
^^^^^^^^^^^^^^^^^^^^^
PEP 440 <https://www.python.org/dev/peps/pep-0440/>
_ scheme.v58.1.0
Compare Source
Changes
^^^^^^^
02e9f65
v58.0.4
Compare Source
Misc
^^^^
v58.0.3
Compare Source
Misc
^^^^
use_2to3
is supplied but set to a false value.v58.0.2
Compare Source
Misc
^^^^
use_2to3
is supplied.v58.0.1
Compare Source
Misc
^^^^
v58.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v57.5.0
Compare Source
Changes
^^^^^^^
[options.data_files]
values.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v57.4.0
Compare Source
Changes
^^^^^^^
SETUPTOOLS_EXT_SUFFIX
environment variable to override the suffix normally detected from thesysconfig
module.v57.3.0
Compare Source
Changes
^^^^^^^
v57.2.0
Compare Source
Changes
^^^^^^^
VSCMD_ARG_TGT_ARCH
environment variable.v57.1.0
Compare Source
Changes
^^^^^^^
e2627b7
.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
some confusion.
Add some examples and the version since when
entry_points
aresupported in declarative configuration.
Tried to make the reading flow a bit leaner, gather some information
that were a bit dispersed.
v57.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
MANIFEST.in
but matched by eitherthe
license_file
(deprecated) orlicense_files
options,will be nevertheless included in the source distribution. - by :user:
cdce8p
Changes
^^^^^^^
cdce8p
License-File
(multiple) to the output package metadata.The field will contain the path of a license file, matched by the
license_file
(deprecated) andlicense_files
options,relative to
.dist-info
. - by :user:cdce8p
more_itertools <https://pypi.org/project/more-itertools>
_ for Setuptools.Misc
^^^^
Towncrier and show the previews of not-yet-released setuptools versions
in the changelog -- :user:
webknjaz
v56.2.0
Compare Source
Changes
^^^^^^^
cdce8p
metadata version for
PKG-INFO
. - by :user:cdce8p
v56.1.0
Compare Source
Changes
^^^^^^^
dofuuz
Misc
^^^^
DeprecationWarning
due tothreading.Thread.setDaemon
in tests -- by :user:tirkarthi
with Towncrier >= 19.9 -- :user:
webknjaz
v56.0.0
Compare Source
Deprecations
^^^^^^^^^^^^
license_file
option is now marked as deprecated.Use
license_files
instead. -- by :user:cdce8p
Breaking Changes
^^^^^^^^^^^^^^^^
license_file
norlicense_files
is specified, thesdist
option will now auto-include files that match the following patterns:
LICEN[CS]E*
,COPYING*
,NOTICE*
,AUTHORS*
.This matches the behavior of
bdist_wheel
. -- by :user:cdce8p
Changes
^^^^^^^
license_file
andlicense_files
options now support glob patterns. -- by :user:cdce8p
VendorImporter.find_spec()
method to get ridof
ImportWarning
that Python 3.10 emits when only the old-styleimporter hooks are present -- by :user:
webknjaz
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
license_files
option. -- by :user:cdce8p
v54.2.0
Compare Source
Changes
^^^^^^^
an empty
setup.py
-- by :user:layday
v54.1.3
Compare Source
No significant changes.
v54.1.2
Compare Source
Misc
^^^^
melissa-kun-li
v54.1.1
Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
sphinx-inline-tabs
extension to allow for comparison ofsetup.py
and its equivalentsetup.cfg
-- by :user:amy-lei
Misc
^^^^
[metadata]
section ofsetup.cfg
case-sensitive. Users havinguppercase option spellings will get a warning suggesting to make them to lowercase
-- by :user:
melissa-kun-li
v54.1.0
Compare Source
Changes
^^^^^^^
extras_require
and :code:data_files
of :code:setup.cfg
to support the usage of dashes. Method will warn users when they use a dash-separated key which in the future will only allow an underscore. Note: the method performs the dash to underscore conversion to preserve compatibility, but future versions will no longer support it -- by :user:melissa-kun-li
v54.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
AttributeError
by raising :code:DistutilsSetupError
in :code:dist.check_specifier()
when specifier is not a string -- by :user:melissa-kun-li
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
pwoolvett
v53.1.0
Compare Source
Changes
^^^^^^^
melissa-kun-li
upload_docs
command. An html builder will be used.Note: :code:
upload_docs
is deprecated for PyPi, but is supported for other sites -- by :user:melissa-kun-li
v53.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
v52.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
webknjaz
for hard work implementing test isolation. To run without parallelization, disable the plugin withtox -- -p no:xdist
.v51.3.3
Compare Source
Misc
^^^^
v51.3.2
Compare Source
Misc
^^^^
v51.3.1
Compare Source
Misc
^^^^
v51.3.0
Compare Source
Changes
^^^^^^^
create_module()
andexec_module()
methods inVendorImporter
to get rid of
ImportWarning
-- by :user:hroncok
pkg_resources
behavior for zipimport now matches the regular behavior, and finds.egg-info
(previoulsy would only find.dist-info
) -- by :user:thatch
v51.2.0
Compare Source
Changes
^^^^^^^
in pkg_resources namespace delaration -- by :user:
encukou
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
jtr109
Misc
^^^^
v51.1.2
Compare Source
Misc
^^^^
v51.1.1
Compare Source
Misc
^^^^
v51.1.0
Compare Source
Changes
^^^^^^^
Misc
^^^^
-- by :user:
yan12125
-- by :user:
yan12125
v51.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
-- by :user:
webknjaz
as a result of PR #2426 -- by :user:
webknjaz
Misc
^^^^
v50.3.2
Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
This allows to see what types of changes a given version introduces
-- by :user:
webknjaz
in the Sphinx docs -- by :user:
webknjaz
Makefile
support -- by :user:webknjaz
Misc
^^^^
-- by :user:
webknjaz
-- by :user:
webknjaz
v50.3.1
Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
:user:
role to Sphinx config -- by :user:webknjaz
webknjaz
Misc
^^^^
v50.3.0
Compare Source
Changes
^^^^^^^
v50.2.0
Compare Source
Changes
^^^^^^^
setuptools.command.bdist_rpm
module that are no longer needed, becausethey are part of the
bdist_rpm
module in distutils in Python3.5.0. Therefore, code was removed from
setuptools.command.bdist_rpm
.v50.1.0
Compare Source
Changes
^^^^^^^
SETUPTOOLS_USE_DISTUTILS=local
to help identify and work through the reported issues with distutils adoption, mainly to file issues and pull requests with pypa/distutils such that distutils performs as needed across every supported environment.v50.0.3
Compare Source
Misc
^^^^
v50.0.2
Compare Source
Misc
^^^^
v50.0.1
Compare Source
Misc
^^^^
subprocess._optim_args_from_interpreter_flags
.from importlib.abc rather than importlib.util.abc (alias removed in Python
3.10).
v50.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
SETUPTOOLS_USE_DISTUTILS
is set tostdlib
, Setuptools will fall back to the legacy behavior. Use of this escape hatch is discouraged, but it is provided to ease the transition while proper fixes for edge cases can be addressed.Changes
^^^^^^^
v49.6.0
Compare Source
Changes
^^^^^^^
v49.5.0
Compare Source
Changes
^^^^^^^
setup_requires
itself. They are reported as build requirements for thefrontend to install.
v49.4.0
Compare Source
Changes
^^^^^^^
v49.3.2
Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
safe_version
function documentationMisc
^^^^
v49.3.1
Compare Source
Changes
^^^^^^^
distutils
is imported beforesetuptools
whendistutils
replacement is not enabled.v49.3.0
Compare Source
Changes
^^^^^^^
v49.2.1
Compare Source
Misc
^^^^
v49.2.0
Compare Source
Changes
^^^^^^^
v49.1.3
Compare Source
Misc
^^^^
v49.1.2
Compare Source
Changes
^^^^^^^
v49.1.1
Compare Source
Misc
^^^^
v49.1.0
Compare Source
Changes
^^^^^^^
v49.0.1
Compare Source
Misc
^^^^
v49.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
Misc
^^^^
raise new_exception from old_exception
v48.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
setuptools
orsetuptools.distutils_patch
, Setuptools will expose its bundled version as a top-leveldistutils
package (and unload any previously-imported top-level distutils package), retaining the expectation thatdistutils
' objects are actually Setuptools objects.To avoid getting any legacy behavior from the standard library, projects are advised to always "import setuptools" prior to importing anything from distutils. This behavior happens by default when using
pip install
orpep517.build
. Workflows that rely onsetup.py (anything)
will need to first ensure setuptools is imported. One way to achieve this behavior without modifying code is to invoke Python thus:python -c "import setuptools; exec(open('setup.py').read())" (anything)
.v47.3.2
Compare Source
Misc
^^^^
v47.3.1
Compare Source
Misc
^^^^
pkg_resources.py31compat.makedirs
in favor of the stdlib. Useos.makedirs()
instead.__requires__
directive in easy-install wrapper scripts.v47.3.0
Compare Source
Changes
^^^^^^^
Misc
^^^^
v47.2.0
Compare Source
Changes
^^^^^^^
v47.1.1
Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
Incorporate changes from v44.1.1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Distribution.finalize_options
prior to invoking_install_setup_requires
, broken since v42.0.0.v47.1.0
Compare Source
Changes
^^^^^^^
v47.0.0
Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
setuptools<45
.Changes
^^^^^^^
v46.4.0
Compare Source
Changes
^^^^^^^
attr:
now extracts variables through rudimentary examination of the AST,thereby supporting modules with third-party imports. If examining the AST
fails to find the variable,
attr:
falls back to the old behavior ofimporting the module. Works on Python 3 only.
v46.3.1
Compare Source
No significant changes.
v46.3.0
Compare Source
Changes
^^^^^^^
Misc
^^^^
2to3
deprecation warnings fromTestDevelop.test_2to3_user_mode
.v46.2.0
Compare Source
Changes
^^^^^^^
bdist_wininst
command. Binary packages should be built as wheels instead..dist-info
as distribution metadata.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
build_meta
(a bare minimum, not completed).Misc
^^^^
lib2to3
PendingDeprecationWarning
andDeprecationWarning
in tests,because
lib2to3
isdeprecated in Python 3.9 <https://bugs.python.org/issue40360>
_.v46.1.3
Compare Source
No significant changes.
v46.1.2
Compare Source
Misc
^^^^
v46.1.1
Compare Source
No significant changes.
v46.1.0
Compare Source
Changes
^^^^^^^
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.