Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0Release Notes
pypa/setuptools
v60.5.0Compare Source
Changes
^^^^^^^
.originattribute of thedistutilsmodule to the module's__file__.v60.4.0Compare Source
Changes
^^^^^^^
requiressorting when installing wheels as an egg dir.costly modules in
_distutils_hack-- by :user:tiranDocumentation changes
^^^^^^^^^^^^^^^^^^^^^
sphinx-favicon.scourpackage.
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_venvthat rely on thejaraco.envspackage.These new test fixtures were also used to remove the (currently problematic)
dependency on the
pytest_virtualenvplugin.#2968: Removed
tmp_srctest fixture. Previously this fixture was copying all thefiles and folders under the project root, including the
.gitdirectory,which is error prone and increases testing time.
Since
tmp_srcwas used to populate virtual environments (installing theversion of
setuptoolsunder test via the source tree), it was replaced bythe new
setuptools_sdistandsetuptools_wheelfixtures (that are buildonly once per session testing and can be shared between all the workers for
read-only usage).
v60.3.1Compare Source
Misc
^^^^
v60.3.0Compare Source
Changes
^^^^^^^
Misc
^^^^
788cc15. Includes fix for config vars missing from sysconfig.v60.2.0Compare 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.1Compare Source
Misc
^^^^
v60.1.0Compare Source
Changes
^^^^^^^
a5af364. Includes revisited fix for pypa/distutils#15 and improved MinGW/Cygwin support from pypa/distutils#77.v60.0.5Compare Source
Misc
^^^^
v60.0.4Compare Source
Misc
^^^^
eba2bcd. Adds platsubdir to config vars available for substitution.v60.0.3Compare Source
Misc
^^^^
v60.0.2Compare Source
Misc
^^^^
v60.0.1Compare Source
Misc
^^^^
v60.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
v59.8.0Compare Source
Changes
^^^^^^^
460b59f.v59.7.0Compare Source
Changes
^^^^^^^
v59.6.0Compare Source
Changes
^^^^^^^
92082eeincluding introduction of deprecation warning on Version classes.v59.5.0Compare Source
Changes
^^^^^^^
8f2df0b.v59.4.0Compare Source
Changes
^^^^^^^
v59.3.0Compare Source
Changes
^^^^^^^
85db7a4.Misc
^^^^
v59.2.0Compare 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.1Compare Source
Misc
^^^^
v59.1.0Compare Source
Changes
^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v59.0.1Compare Source
Misc
^^^^
pytest-virtualenvinsetup.cfg.PyPI rejects packages with dependencies external to itself.
Instead the test dependency was overwritten via
tox.iniv58.5.3Compare Source
Misc
^^^^
build_pycommands inheriting directly from:mod:
distutils, while still handlinginclude_package_data=Trueforsdist.v58.5.2Compare Source
Misc
^^^^
v58.5.1Compare Source
Misc
^^^^
v58.5.0Compare Source
Changes
^^^^^^^
include_package_dataandpackages_datain sdistby replacing the loop breaking mechanism between the
sdistandegg_infocommands -- by :user:abravalheriv58.4.0Compare Source
Changes
^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
data_filesoption from the example in thedeclarative configuration docs -- by :user:
abravalheridata_filesoption fromdicttosectionindeclarative configuration docs (to match previous example) -- by
:user:
abravalheriv58.3.0Compare Source
Changes
^^^^^^^
setup.py installandeasy_installcommands 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_rpmcommand. Binary packages should be built as wheels instead.-- by :user:
hugovkconfigparser'sreadfpwithread_file, deprecated since Python 3.2.-- by :user:
hugovksetup_requires. Users are encouraged instead to migrate to PEP 518build-system.requiresinpyproject.toml. Users reliant onsetup_requiresshould consider pinning to this major version to avoid disruption.Misc
^^^^
-- by :user:
tanvimoharirv58.2.0Compare Source
Changes
^^^^^^^
--ownerand--groupoptions to thesdistcommand,for specifying file ownership within the produced tarball (similarly
to the corresponding distutils
sdistoptions).Documentation changes
^^^^^^^^^^^^^^^^^^^^^
PEP 440 <https://www.python.org/dev/peps/pep-0440/>_ scheme.v58.1.0Compare Source
Changes
^^^^^^^
02e9f65v58.0.4Compare Source
Misc
^^^^
v58.0.3Compare Source
Misc
^^^^
use_2to3is supplied but set to a false value.v58.0.2Compare Source
Misc
^^^^
use_2to3is supplied.v58.0.1Compare Source
Misc
^^^^
v58.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v57.5.0Compare Source
Changes
^^^^^^^
[options.data_files]values.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
v57.4.0Compare Source
Changes
^^^^^^^
SETUPTOOLS_EXT_SUFFIXenvironment variable to override the suffix normally detected from thesysconfigmodule.v57.3.0Compare Source
Changes
^^^^^^^
v57.2.0Compare Source
Changes
^^^^^^^
VSCMD_ARG_TGT_ARCHenvironment variable.v57.1.0Compare Source
Changes
^^^^^^^
e2627b7.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
some confusion.
Add some examples and the version since when
entry_pointsaresupported in declarative configuration.
Tried to make the reading flow a bit leaner, gather some information
that were a bit dispersed.
v57.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
MANIFEST.inbut matched by eitherthe
license_file(deprecated) orlicense_filesoptions,will be nevertheless included in the source distribution. - by :user:
cdce8pChanges
^^^^^^^
cdce8pLicense-File(multiple) to the output package metadata.The field will contain the path of a license file, matched by the
license_file(deprecated) andlicense_filesoptions,relative to
.dist-info. - by :user:cdce8pmore_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:
webknjazv56.2.0Compare Source
Changes
^^^^^^^
cdce8pmetadata version for
PKG-INFO. - by :user:cdce8pv56.1.0Compare Source
Changes
^^^^^^^
dofuuzMisc
^^^^
DeprecationWarningdue tothreading.Thread.setDaemonin tests -- by :user:tirkarthiwith Towncrier >= 19.9 -- :user:
webknjazv56.0.0Compare Source
Deprecations
^^^^^^^^^^^^
license_fileoption is now marked as deprecated.Use
license_filesinstead. -- by :user:cdce8pBreaking Changes
^^^^^^^^^^^^^^^^
license_filenorlicense_filesis specified, thesdistoption 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:cdce8pChanges
^^^^^^^
license_fileandlicense_filesoptions now support glob patterns. -- by :user:cdce8pVendorImporter.find_spec()method to get ridof
ImportWarningthat Python 3.10 emits when only the old-styleimporter hooks are present -- by :user:
webknjazDocumentation changes
^^^^^^^^^^^^^^^^^^^^^
license_filesoption. -- by :user:cdce8pv54.2.0Compare Source
Changes
^^^^^^^
an empty
setup.py-- by :user:laydayv54.1.3Compare Source
No significant changes.
v54.1.2Compare Source
Misc
^^^^
melissa-kun-liv54.1.1Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
sphinx-inline-tabsextension to allow for comparison ofsetup.pyand its equivalentsetup.cfg-- by :user:amy-leiMisc
^^^^
[metadata]section ofsetup.cfgcase-sensitive. Users havinguppercase option spellings will get a warning suggesting to make them to lowercase
-- by :user:
melissa-kun-liv54.1.0Compare Source
Changes
^^^^^^^
extras_requireand :code:data_filesof :code:setup.cfgto 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-liv54.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
AttributeErrorby raising :code:DistutilsSetupErrorin :code:dist.check_specifier()when specifier is not a string -- by :user:melissa-kun-liDocumentation changes
^^^^^^^^^^^^^^^^^^^^^
pwoolvettv53.1.0Compare Source
Changes
^^^^^^^
melissa-kun-liupload_docscommand. An html builder will be used.Note: :code:
upload_docsis deprecated for PyPi, but is supported for other sites -- by :user:melissa-kun-liv53.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
v52.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
webknjazfor hard work implementing test isolation. To run without parallelization, disable the plugin withtox -- -p no:xdist.v51.3.3Compare Source
Misc
^^^^
v51.3.2Compare Source
Misc
^^^^
v51.3.1Compare Source
Misc
^^^^
v51.3.0Compare Source
Changes
^^^^^^^
create_module()andexec_module()methods inVendorImporterto get rid of
ImportWarning-- by :user:hroncokpkg_resourcesbehavior for zipimport now matches the regular behavior, and finds.egg-info(previoulsy would only find.dist-info) -- by :user:thatchv51.2.0Compare Source
Changes
^^^^^^^
in pkg_resources namespace delaration -- by :user:
encukouDocumentation changes
^^^^^^^^^^^^^^^^^^^^^
jtr109Misc
^^^^
v51.1.2Compare Source
Misc
^^^^
v51.1.1Compare Source
Misc
^^^^
v51.1.0Compare Source
Changes
^^^^^^^
Misc
^^^^
-- by :user:
yan12125-- by :user:
yan12125v51.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
-- by :user:
webknjazas a result of PR #2426 -- by :user:
webknjazMisc
^^^^
v50.3.2Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
This allows to see what types of changes a given version introduces
-- by :user:
webknjazin the Sphinx docs -- by :user:
webknjazMakefilesupport -- by :user:webknjazMisc
^^^^
-- by :user:
webknjaz-- by :user:
webknjazv50.3.1Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
:user:role to Sphinx config -- by :user:webknjazwebknjazMisc
^^^^
v50.3.0Compare Source
Changes
^^^^^^^
v50.2.0Compare Source
Changes
^^^^^^^
setuptools.command.bdist_rpmmodule that are no longer needed, becausethey are part of the
bdist_rpmmodule in distutils in Python3.5.0. Therefore, code was removed from
setuptools.command.bdist_rpm.v50.1.0Compare Source
Changes
^^^^^^^
SETUPTOOLS_USE_DISTUTILS=localto 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.3Compare Source
Misc
^^^^
v50.0.2Compare Source
Misc
^^^^
v50.0.1Compare Source
Misc
^^^^
subprocess._optim_args_from_interpreter_flags.from importlib.abc rather than importlib.util.abc (alias removed in Python
3.10).
v50.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
SETUPTOOLS_USE_DISTUTILSis 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.0Compare Source
Changes
^^^^^^^
v49.5.0Compare Source
Changes
^^^^^^^
setup_requiresitself. They are reported as build requirements for thefrontend to install.
v49.4.0Compare Source
Changes
^^^^^^^
v49.3.2Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
safe_versionfunction documentationMisc
^^^^
v49.3.1Compare Source
Changes
^^^^^^^
distutilsis imported beforesetuptoolswhendistutilsreplacement is not enabled.v49.3.0Compare Source
Changes
^^^^^^^
v49.2.1Compare Source
Misc
^^^^
v49.2.0Compare Source
Changes
^^^^^^^
v49.1.3Compare Source
Misc
^^^^
v49.1.2Compare Source
Changes
^^^^^^^
v49.1.1Compare Source
Misc
^^^^
v49.1.0Compare Source
Changes
^^^^^^^
v49.0.1Compare Source
Misc
^^^^
v49.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
Changes
^^^^^^^
Misc
^^^^
raise new_exception from old_exceptionv48.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
setuptoolsorsetuptools.distutils_patch, Setuptools will expose its bundled version as a top-leveldistutilspackage (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 installorpep517.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.2Compare Source
Misc
^^^^
v47.3.1Compare Source
Misc
^^^^
pkg_resources.py31compat.makedirsin favor of the stdlib. Useos.makedirs()instead.__requires__directive in easy-install wrapper scripts.v47.3.0Compare Source
Changes
^^^^^^^
Misc
^^^^
v47.2.0Compare Source
Changes
^^^^^^^
v47.1.1Compare Source
Documentation changes
^^^^^^^^^^^^^^^^^^^^^
Incorporate changes from v44.1.1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Distribution.finalize_optionsprior to invoking_install_setup_requires, broken since v42.0.0.v47.1.0Compare Source
Changes
^^^^^^^
v47.0.0Compare Source
Breaking Changes
^^^^^^^^^^^^^^^^
setuptools<45.Changes
^^^^^^^
v46.4.0Compare 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.1Compare Source
No significant changes.
v46.3.0Compare Source
Changes
^^^^^^^
Misc
^^^^
2to3deprecation warnings fromTestDevelop.test_2to3_user_mode.v46.2.0Compare Source
Changes
^^^^^^^
bdist_wininstcommand. Binary packages should be built as wheels instead..dist-infoas distribution metadata.Documentation changes
^^^^^^^^^^^^^^^^^^^^^
build_meta(a bare minimum, not completed).Misc
^^^^
lib2to3PendingDeprecationWarningandDeprecationWarningin tests,because
lib2to3isdeprecated in Python 3.9 <https://bugs.python.org/issue40360>_.v46.1.3Compare Source
No significant changes.
v46.1.2Compare Source
Misc
^^^^
v46.1.1Compare Source
No significant changes.
v46.1.0Compare 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.