|
|
|
|
Changelog for python310-setuptools-72.1.0-251.3.noarch.rpm :
* Tue Jul 30 2024 Steve Kowalik - Update to 72.1.0: * Restore the tests command and deprecate access to the module. * Added return types to typed public functions. * Removed lingering unused code around Distribution._patched_dist. * Reset the backports module when enabling vendored packages. * Include all vendored files in the sdist. * Restored package data that went missing in 71.0. This change also incidentally causes tests to be installed once again. * Now setuptools declares its own dependencies in the core extra. Dependencies are still vendored for bootstrapping purposes, but setuptools will prefer installed dependencies if present. The core extra is used for informational purposes and should *not * be declared in package metadata (e.g. build-requires). * Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. * Fix distribution name normalisation for valid versions that are not canonical (e.g. 1.0-2). * Sat Jun 29 2024 Dirk Müller - update to 70.1.1: * Improve error message when pkg_resources.ZipProvider tries to extract resources with a missing Egg Added variables and parameter type annotations to pkg_resources to be nearly on par with typeshed. * * Improve error message when pkg_resources.ZipProvider tries to extract resources with a missing Egg * Added variables and parameter type annotations to pkg_resources to be nearly on par with typeshed. * * Migrated Setuptools\' own config to pyproject.toml * Prevent a TypeError: \'NoneType\' object is not callable when shutil_rmtree is called without an onexc parameter on Python<=3.11 * Replace use of mktemp with can_symlink from the stdlib test suite. * Improvement for attr: directives in configuration to handle more edge cases related to complex package_dir. * Fix accidental implicit string concatenation. * Tue May 28 2024 Steve Kowalik - Update to 70.0.0: * Features + Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored. + Improved AttributeError error message if pkg_resources.EntryPoint.require is called without extras or distribution Gracefully \"do nothing\" when trying to activate a pkg_resources.Distribution with a None location, rather than raising a TypeError. + Refresh unpinned vendored dependencies. + Updated vendored packaging to version 24.0. + Merged with pypa/distutilsAATT55982565e. + Support PEP 625 by canonicalizing package name and version in filenames. + Explicitly use encoding=\"locale\" for .pth files whenever possible, to reduce EncodingWarnings. + Updated and removed obsolete Python < 3.8 code and comments. + Updated pkg_resources to use stdlib importlib.machinery instead of importlib_machinery. + Modernized and refactored VCS handling in package_index. (bsc#1228105, CVE-2024-6345) * Bugfixes + In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs late. + Fix finder template for lenient editable installs of implicit nested namespaces constructed by using package_dir to reorganise directory structure. + Remove attempt to canonicalize the version. It\'s already canonical enough. + Clarify some pkg_resources methods return bytes, not str. Also return an empty bytes in EmptyProvider._get. + Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources. + Made pkg_resoursces.NullProvider\'s has_metadata and metadata_isdir methods return actual booleans like all other Providers. + In tests, rely on pytest-home for reusable fixture. + Explicitely marked as Protocol and fixed missing self argument in interfaces pkg_resources.IMetadataProvider and pkg_resources.IResourceProvider. + Restored expectation that egg-link files would be named with dash separators for compatibility with pip prior to version 24.- Refresh patch sort-for-reproducibility.patch * Tue Jan 02 2024 Dirk Müller - update to 69.0.3: * Bugfixes - Retain valid names with underscores in egg_info. * Fri Dec 22 2023 Ben Greiner - Drop fix-get-python-lib-python38.patch: No Python <3.9 built- Drop ugly allow-only-direct-compilation.patch in favor of proper PEP517 compliant bootstrap, using a built-in pip and the wheel package * Fri Dec 22 2023 Steve Kowalik - Add patch allow-only-direct-compilation.patch: * Allow forcing direct compilation. * Mon Dec 18 2023 Dirk Müller - update to 69.0.2: * Added missing estimated date for removing ``setuptools.dep_util`` (deprecated in v69.0.0). * Fixed imports of ``setuptools.dep_util.newer_group``. * A deprecation warning is issued instead of a hard failure. * Include type information (``py.typed``, `` *.pyi``) by default (#3136) -- by :user:`Danie-1`, * Exported ``distutils.dep_util`` and ``setuptools.dep_util`` through ``setuptools.modified`` * Merged with pypa/distutilsAATT7a04cbda0fc714. * Replaced hardcoded numeric values with :obj:`dis.opmap`, fixing problem with 3.13.0a1. (#4094) * Configuring project ``version`` and ``egg_info.tag_ *`` in such a way that results in invalid version strings (according to :pep:`440`) is no longer permitted. (#4066) * Removed deprecated ``egg_base`` option from ``dist_info``. * The parsing of the deprecated ``metadata.license_file`` and ``metadata.requires`` fields in ``setup.cfg`` is no longer supported. * Users are expected to move to ``metadata.license_files`` and ``options.install_requires`` (respectively). (#4066) * Passing ``config_settings`` to ``setuptools.build_meta`` with deprecated values for ``--global-option`` is no longer allowed. (#4066) * Removed deprecated ``namespace-packages`` from ``pyproject.toml``. * Added strict enforcement for ``project.dynamic`` in ``pyproject.toml``. This removes the transitional ability of users configuring certain parameters via ``setup.py`` without making the necessary changes to ``pyproject.toml`` * Removed handling of ``--config-settings[\"--build-option\"]`` in ``setuptools.build_meta`` from build-backend API hooks * other than * ``build_wheel``. * Improve backwards compatibility with deprecated CLI practices. (#4048) * Avoid using caching attributes in ``Distribution.metadata`` for requirements. This is done for backwards compatibility with customizations that attempt to modify ``install_requires`` or ``extras_require`` at a late point (still not recommended). * Rework how ``setuptools`` internally handles ``dependencies/install_requires`` and ``optional-dependencies/extras_require``. (#3903) * Improve the generated ``PKG-INFO`` files, by adding ``Requires-Dist`` fields. * Previously, these fields would be omitted in favour of a non- standard `` *.egg-info/requires.txt`` file (which is still generated for the time being). (#3904) * Improve atomicity when writing ``PKG-INFO`` files to avoid race conditions with ``importlib.metadata``. (#3904) * Fix the name given to the `` *-nspkg.pth`` files in editable installs, ensuring they are unique per distribution. (#4041) * Workaround some limitations on ``pkg_resources``-style legacy namespaces in the meta path finder for editable installations.- drop sphinx72.patch (upstream) * Mon Oct 16 2023 Daniel Garcia Moreno - Do not ship bundled exes * Tue Aug 22 2023 Markéta Machová - update to 68.1.2 * Fix editable install finder handling of nested packages, by only handling 1 level of nesting and relying on importlib.machinery to find the remaining modules based on the parent package path.- add sphinx72.patch: address circular imports in sphinx 7.2+ * Wed Aug 16 2023 Markéta Machová - update to 68.1.0 * Removed code referencing bdist_wininst in install_scripts. * Promote pyproject.toml’s [tool.setuptools] out of beta. * Automatically add files listed in Extension.depends to sdists, as long as they are contained in the project directory * Require Python 3.8 or later. * Use default encoding to create .pth files with editable_wheel. * Detects (and complain about) scripts and gui-scripts set via setup.py when pyproject.toml does not include them in dynamic. * Sun Aug 13 2023 Dirk Müller - update to 68.0.0: * Removed verification for existing ``depends.txt`` file * Remove autofixing of broken ``.egg-info`` directories containing the ``-`` character in their base name (without suffix). * Remove deprecated APIs in ``easy_install``: ``get_script_args``, ``get_script_header`` and ``get_writer``. * Removed ``egg_info.get_pkg_info_revision`` (deprecated * Removed ``setuptools.dist._get_unpatched`` (deprecated * Removed support for SVN in ``setuptools.package_index`` (deprecated since 2018). * Removed support for invalid ``pyproject.toml`` files. * Added symlink support to launcher for installed executables -- by :user:`eugene-sevostianov-sc` * Updated vendored ``packaging`` version from 23.0 to 23.1 -- by :user:`MetRonnie` * Implemented workaround for old versions of ``vswhere``, which miss the * ``-requiresAny`` parameter, such as the ones distributed together with Visual Studio 2017 < 15.6. * Changed ``DistutilsMetaFinder`` to skip ``spec_for_pip`` on Python >= 3.12. * Removed ``_distutils_hack.remove_shim`` on Python >= 3.12 (since ``distutils`` was removed from the standard library, ``DistutilsMetaFinder`` cannot be disabled on Python >= 3.12). * #3920: Add a link to deprecation warning in ``pkg_resources`` and improve ``stacklevel`` for better visibility.- drop use-tarfile-extraction_filter.patch (upstream) * Wed Jun 07 2023 Daniel Garcia - Update to 67.8.0: * #3128: In deprecated easy_install, reload and merge the pth file before saving. * #3915: Adequate tests to the latest changes in virtualenv for Python 3.12. * Thu May 04 2023 Matej Cepl - Testing must be single-spec as well. * Wed May 03 2023 Steve Kowalik - Update to 67.7.2: * #3902: Fixed wrong URLs used in warnings and logs. * #3898: Fixes setuptools.dist:invalid_unless_false when value is false don’t raise error * #3849: Overhaul warning system for better visibility. * #3884: Add a stacklevel parameter to warnings.warn() to provide more information to the user.- Add patch use-tarfile-extraction_filter.patch: * Set an extraction_filter to avoid a warning. * Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) * Sun Apr 16 2023 Dirk Müller - update to 67.6.1: * #3865: Fixed ``_WouldIgnoreField`` warnings for ``scripts`` and ``gui_scripts``, when ``entry-points`` is not listed in dynamic. * #3875: Update code generated by ``validate-pyproject`` to use v0.12.2. * This should fix default license patterns when ``pyproject.toml`` is used. * Sun Mar 26 2023 Matej Cepl - Refresh sort-for-reproducibility.patch * Thu Mar 09 2023 Steve Kowalik - Update to 67.6.0: * Deprecations + #3434: Added deprecation warning for pkg_resources.declare_namespace. * Breaking Changes + #3741: Removed patching of distutils._msvccompiler.gen_lib_options for compatibility with Numpy < 1.11.2 -- by :user:`mgorny` + #2497: Support for PEP 440 non-conforming versions has been removed. * Changes + #3804: Added caching for supported wheel tags. + #3846: Added pruning heuristics to PackageFinder based on exclude. + #3843: Although pkg_resources has been discouraged for use, some projects still consider pkg_resources viable for usage. This change makes it clear that pkg_resources should not be used, emitting a DeprecationWarning when imported. + #3809: Merge with distutilsAATT8c3c3d29, including fix for sysconfig.get_python_inc() (pypa/distutils#178), fix for segfault on MinGW (pypa/distutils#196), and better has_function support (pypa/distutils#195, #3648). + #3795: Ensured that __file__ is an absolute path when executing setup.py as part of setuptools.build_meta. + #3685: Fix improper usage of deprecated/removed pkgutil APIs in Python 3.12+. + #3769: Replace \'appdirs\' with \'platformdirs\'. * Misc + #3838: Improved error messages for pyproject.toml validations. + #3839: Fixed pkg_resources errors caused when parsing metadata of packages that are already installed but do not conform with PEP 440. + #3823: Fixes egg_info code path triggered during integration with pip. + #3782: Fixed problem with file directive in tool.setuptools.dynamic when value is a simple string instead of list. * Thu Nov 24 2022 Daniel Garcia - Update to 65.6.3: * #3709: Fix condition to patch distutils.dist.log to only apply when using distutils from the stdlib.- v65.6.2 * No significant changes. * Wed Nov 23 2022 Daniel Garcia - Update to 65.6.1: * #3689: Document that distutils.cfg might be ignored unless SETUPTOOLS_USE_DISTUTILS=stdlib. * #3678: Improve clib builds reproducibility by sorting sources -- by :user:`danigm`, fixing bsc#1201127 * #3684: Improved exception/traceback when invalid entry-points are specified. * #3690: Fixed logging errors: \'underlying buffer has been detached\' (issue [#1631]). * #3693: Merge pypa/distutilsAATT3e9d47e with compatibility fix for distutils.log.Log. * #3704: Fix temporary build directories interference with auto-discovery.- v65.6.0: * #3674: Sync with pypa/distutilsAATTe0787fa, including pypa/distutils#183 updating distutils to use the Python logging framework. * Mon Nov 14 2022 Daniel Garcia - Delete remove_mock.patch, that\'s not needed anymore, it\'s upstreamed- Update to 65.5.1: * #3638: Drop a test dependency on the mock package, always use :external+python:py:mod:`unittest.mock` -- by :user:`hroncok` * #3659: Fixed REDoS vector in package_index. * Wed Oct 19 2022 Daniel Garcia - Skip test_pbr_integration because it tries to install pbr using pip from network * Wed Oct 19 2022 Daniel Garcia - Add fix-get-python-lib-python38.patch to fix get_python_lib() method in python3.8 bsc#1204395- Update to version 65.5.0: * #3624: Fixed editable install for multi-module/no-package src-layout projects. * #3626: Minor refactorings to support distutils using stdlib logging module. * #3419: Updated the example version numbers to be compliant with PEP-440 on the \"Specifying Your Project’s Version\" page of the user guide. * #3569: Improved information about conflicting entries in the current working directory and editable install (in documentation and as an informational warning). * #3576: Updated version of validate_pyproject.- v65.4.1 * #3613: Fixed encoding errors in expand.StaticModule when system default encoding doesn\'t match expectations for source files. * #3617: Merge with pypa/distutilsAATT6852b20 including fix for pypa/distutils#181.- v65.4.0 * #3609: Merge with pypa/distutilsAATTd82d926 including support for DIST_EXTRA_CONFIG in pypa/distutils#177.- v65.3.0 * #3547: Stop ConfigDiscovery.analyse_name from splatting the Distribution.name attribute -- by :user:`jeamland` * #3554: Changed requires to requests in the pyproject.toml example in the :doc:`Dependency management section of the Quickstart guide ` -- by :user:`mfbutner` * #3561: Fixed accidental name matching in editable hooks.- v65.2.0 * #3553: Sync with pypa/distutilsAATT22b9bcf, including fixed cross-compiling support and removing deprecation warning per pypa/distutils#169.- v65.1.1 * #3551: Avoided circular imports in meta path finder for editable installs when a missing module has the same name as its parent.- v65.1.0 * #3536: Remove monkeypatching of msvc9compiler. * #3538: Corrected documentation on how to use the legacy-editable mode.- v65.0.2 * #3505: Restored distutils msvccompiler and msvc9compiler modules and marked as deprecated (pypa/distutilsAATTc802880).- v65.0.1 * #3529: Added clarification to :doc:`/userguide/quickstart` about support to setup.py. * #3526: Fixed backward compatibility of editable installs and custom build_ext commands inheriting directly from distutils. * #3528: Fixed buid_meta.prepare_metadata_for_build_wheel when given metadata_directory is \".\".- v65.0.0 * #3505: Removed \'msvccompiler\' and \'msvc9compiler\' modules from distutils. * #3521: Remove bdist_msi and bdist_wininst commands, which have been deprecated since Python 3.9. Use older Setuptools for these behaviors if needed. * #3519: Changed the note in keywords documentation regarding editable installations to specify which setuptools version require a minimal setup.py file or not.- v64.0.3 * #3515: Fixed \"inline\" file copying for editable installations and optional extensions. * #3517: Fixed editable_wheel to ensure other commands are finalized before using them. This should prevent errors with plugins trying to use different commands or reinitializing them. * #3517: Augmented filter to prevent transient/temporary source files from being considered package_data or data_files.- v64.0.2 * #3506: Suppress errors in custom build_py implementations when running editable installs in favor of a warning indicating what is the most appropriate migration path. This is a transitional measure. Errors might be raised in future versions of setuptools. * #3512: Added capability of handling namespace packages created accidentally/purposefully via discovery configuration during editable installs. This should emulate the behaviour of a non-editable installation.- v64.0.1 * #3497: Fixed editable_wheel for legacy namespaces. * #3502: Fixed issue with editable install and single module distributions. * #3503: Added filter to ignore external .egg-info files in manifest. * Some plugins might rely on the fact that the .egg-info directory is produced inside the project dir, which may not be the case in editable installs (the .egg-info directory is produced inside the metadata directory given by the build frontend via PEP 660 hooks).- v64.0.0 * #3380: Passing some types of parameters via --global-option to setuptools PEP 517/PEP 660 backend is now considered deprecated. The user can pass the same arbitrary parameter via --build-option (--global-option is now reserved for flags like --verbose or --quiet). * Both --build-option and --global-option are supported as a transitional effort (a.k.a. \"escape hatch\"). In the future a proper list of allowed config_settings may be created. * #3265: Added implementation for editable install hooks (PEP 660). * #3380: Improved the handling of the config_settings parameter in both PEP 517 and PEP 660 interfaces: * #3392: Exposed get_output_mapping() from build_py and build_ext subcommands. This interface is reserved for the use of setuptools Extensions and third part packages are explicitly disallowed to calling it. However, any implementation overwriting build_py or build_ext are required to honour this interface. * #3412: Added ability of collecting source files from custom build sub-commands to sdist. This allows plugins and customization scripts to automatically add required source files in the source distribution. * #3414: Users can temporarily specify an environment variable SETUPTOOLS_ENABLE_FEATURES=legacy-editable as a escape hatch for the PEP 660 behavior. This setting is transitional and may be removed in the future. * #3484: Added transient compat mode to editable installs. This more will be temporarily available (to facilitate the transition period) for those that want to emulate the behavior of the develop command (in terms of what is added to sys.path). This mode is provided \"as is\", with limited support, and will be removed in future versions of setuptools. * #3414: Updated :doc:`Development Mode ` to reflect on the implementation of PEP 660.- v63.4.3 * #3496: Update to pypa/distutilsAATTb65aa40 including more robust support for library/include dir handling in msvccompiler (pypa/distutils#153) and test suite improvements.- v63.4.2 * #3453: Bump vendored version of :pypi:`pyparsing` to 3.0.9. * #3481: Add warning for potential install_requires and extras_require misconfiguration in setup.cfg * #3487: Modified pyproject.toml validation exception handling to make relevant debugging information easier to spot.- v63.4.1 * #3482: Sync with pypa/distutilsAATT274758f1c02048d295efdbc13d2f88d9923547f8, restoring compatibility shim in bdist.format_commands.- v63.4.0 * #2971: upload_docs command is deprecated once again. * #3443: Installed sphinx-hoverxref extension to show tooltips on internal an external references. -- by :user:`humitos` * #3444: Installed sphinx-notfound-page extension to generate nice 404 pages. - - by :user:`humitos` * #3480: Merge with pypa/distutilsAATTc397f4c- v63.3.0 * #3475: Merge with pypa/distutilsAATT129480b, including substantial delinting and cleanup, some refactoring around compiler logic, better messaging in cygwincompiler (pypa/distutils#161). * Sat Jul 16 2022 Arun Persaud - update to version 63.2.0: * Changes + #3395: Included a performance optimization: setuptools.build_meta no longer tries to :func:`compile` the setup script code before :func:`exec`-ing it. * Misc + #3435: Corrected issue in macOS framework builds on Python 3.9 not installed by homebrew (pypa/distutils#158). * Thu Jul 14 2022 Ben Greiner - Remove dependency on packaging -- boo#1178257- Enable ini2toml[lite] tests * Wed Jul 13 2022 Ben Greiner - Update to version 63.1.0 * #3430: Merge with pypa/distutilsAATT152c13d including pypa/distutils#155 (improved compatibility for editable installs on homebrew Python 3.9), pypa/distutils#150 (better handling of runtime_library_dirs on cygwin), and pypa/distutils#151 (remove warnings for namespace packages).- v63.0.0 * #3421: Drop setuptools\' support for installing an entrypoint extra requirements at load time: - the functionality has been broken since v60.8.0. - the mechanism to do so is deprecated (fetch_build_eggs). - that use case (e.g. a custom command class entrypoint) is covered by making sure the necessary build requirements are declared. Documentation changes * #3397: Fix reference for keywords to point to the Core Metadata Specification instead of PEP 314 (the live standard is kept always up-to-date and consolidates several PEPs together in a single document).- v62.6.0 * #3253: Enabled using file: for requirements in setup.cfg -- by :user:`akx` (this feature is currently considered to be in beta stage). * #3255: Enabled using file: for dependencies and optional-dependencies in pyproject.toml -- by :user:`akx` (this feature is currently considered to be in beta stage). * #3391: Updated attr: to also extract simple constants with type annotations -- by :user:`karlotness`- v62.5.0 * #3347: Changed warnings and documentation notes about experimental aspect of pyproject.toml configuration: now [project] is a fully supported configuration interface, but the [tool.setuptools] table and sub-tables are still considered to be in beta stage. * #3383: In _distutils_hack, suppress/undo the use of local distutils when select tests are imported in CPython. * #3385: Modules used to parse and evaluate configuration from pyproject.toml files are intended for internal use only and that not part of the public API.- v62.4.0 * #3256: Added setuptools.command.build command to match distutils.command.build -- by :user:`isuruf` * #3366: Merge with pypa/distutilsAATT75ed79d including reformat using black, fix for Cygwin support (pypa/distutils#139), and improved support for cross compiling (pypa/distutils#144 and pypa/distutils#145).- v62.3.4 * #3354: Improve clarity in warning about unlisted namespace packages.- v62.3.3 * #3336: Modified test_setup_install_includes_dependencies to work with custom PYTHONPATH –- by :user:`hroncok`- v62.3.2 * #3328: Include a first line summary to some of the existing multi-line warnings.- v62.3.1 * #3320: Fixed typo which causes namespace_packages to raise an error instead of warning.- v62.3.0 * #3262: Formally added deprecation messages for namespace_packages. The methodology that uses pkg_resources and namespace_packages for creating namespaces was already discouraged by the :doc:`setuptools docs ` and the :doc:`Python Packaging User Guide `, therefore this change just make the deprecation more official. Users can consider migrating to native/implicit namespaces (as introduced in PEP 420). * #3308: Relying on include_package_data to ensure sub-packages are automatically added to the build wheel distribution (as \"data\") is now considered a deprecated practice. This behaviour was controversial and caused inconsistencies (#3260). Instead, projects are encouraged to properly configure packages or use discovery tools. General information can be found in :doc:`userguide/package_discovery`. * #1806: Allowed recursive globs ( * *) in package_data. -- by :user:`nullableVoidPtr` * #3206: Fixed behaviour when both install_requires (in setup.py) and dependencies (in pyproject.toml) are specified. The configuration in pyproject.toml will take precedence over setup.py (in accordance with PEP 621). A warning was added to inform users. * #3274: Updated version of vendored pyparsing to 3.0.8 to avoid problems with upcoming deprecation in Python 3.11. * #3292: Added warning about incompatibility with old versions of importlib-metadata.- v62.2.0 * #3299: Optional metadata fields are now truly optional. Includes merge with pypa/distutilsAATTa7cfb56 per pypa/distutils#138. * #3282: Added CI cache for setup.cfg examples used when testing setuptools.config.- v62.1.0 * #3249: Simplified package_dir obtained via auto-discovery.- v62.0.0 * #3151: Made setup.py develop --user install to the user site packages directory even if it is disabled in the current interpreter. * #3153: When resolving requirements use both canonical and normalized names -- by :user:`ldaniluk` * #3167: Honor unix file mode in ZipFile when installing wheel via install_as_egg -- by :user:`delijati` * #3088: Fixed duplicated tag with the dist-info command. * #3247: Fixed problem preventing readme specified as dynamic in pyproject.toml from being dynamically specified in setup.py.- v61.3.1 * #3233: Included missing test file setupcfg_examples.txt in sdist. * #3233: Added script that allows developers to download setupcfg_examples.txt prior to running tests. By caching these files it should be possible to run the test suite offline.- v61.3.0 * #3229: Disabled automatic download of trove-classifiers to facilitate reproducibility. * #3229: Updated pyproject.toml validation via validate-pyproject v0.7.1. * #3229: New internal tool made available for updating the code responsible for the validation of pyproject.toml. This tool can be executed via tox -e generate-validation-code.- v61.2.0 * #3215: Ignored a subgroup of invalid pyproject.toml files that use the [project] table to specify only requires-python (transitional). * Warning: Please note that future releases of setuptools will halt the build process if a pyproject.toml file that does not match the PyPA Specification is given. * #3215: Updated pyproject.toml validation, as generated by validate-pyproject==0.6.1. * #3218: Prevented builds from erroring if the project specifies metadata via pyproject.toml, but uses other files (e.g. setup.py) to complement it, without setting dynamic properly. * Important: This is a transitional behaviour. Future releases of setuptools may simply ignore externally set metadata not backed by dynamic or even halt the build with an error. * #3224: Merge changes from pypa/distutilsAATTe1d5c9b1f6 + #3223: Fixed missing requirements with environment markers when optional-dependencies is set in pyproject.toml.- v61.1.1 * #3212: Fixed missing dependencies when running setup.py install. Note that calling setup.py install directly is still deprecated and will be removed in future versions of setuptools. Please check the release notes for :ref:`setup_install_deprecation_note`.- v61.1.0 * #3206: Changed setuptools.convert_path to an internal function that is not exposed as part of setuptools API. Future releases of setuptools are likely to remove this function. * #3202: Changed behaviour of auto-discovery to not explicitly expand package_dir for flat-layouts and to not use relative paths starting with ./. * #3203: Prevented pyproject.toml parsing from overwriting dist.include_package_data explicitly set in setup.py with default value. * #3208: Added a warning for non existing files listed with the file directive in setup.cfg and pyproject.toml. * #3208: Added a default value for dynamic classifiers in pyproject.toml when files are missing and errors being ignored. * #3211: Disabled auto-discovery when distribution class has a configuration attribute (e.g. when the setup.py script contains setup(..., configuration=...)). This is done to ensure extension-only packages created with numpy.distutils.misc_util.Configuration are not broken by the safe guard behaviour to avoid accidental multiple top-level packages in a flat-layout. * Note Users that don\'t set packages, py_modules, or configuration are still likely to observe the auto-discovery behavior, which may halt the build if the project contains multiple directories and/or multiple Python files directly under the project root. To disable auto-discovery please explicitly set either packages or py_modules. Alternatively you can also configure :ref:`custom-discovery`.- v61.0.0 * #3068: Deprecated setuptools.config.read_configuration, setuptools.config.parse_configuration and other functions or classes from setuptools.config. * Users that still need to parse and process configuration from setup.cfg can import a direct replacement from setuptools.config.setupcfg, however this module is transitional and might be removed in the future (the setup.cfg configuration format itself is likely to be deprecated in the future). * #2894: If you purposefully want to create an \"empty distribution\", please be aware that some Python files (or general folders) might be automatically detected and included. * Projects that currently don\'t specify both packages and py_modules in their configuration and contain extra folders or Python files (not meant for distribution), might see these files being included in the wheel archive or even experience the build to fail. * You can check details about the automatic discovery (and how to configure a different behaviour) in :doc:`/userguide/package_discovery`. * #3067: If the file pyproject.toml exists and it includes project metadata/config (via [project] table or [tool.setuptools]), a series of new behaviors that are not backward compatible may take place: - The default value of include_package_data will be considered to be True. - Setuptools will attempt to validate the pyproject.toml file according to PEP 621 specification. - The values specified in pyproject.toml will take precedence over those specified in setup.cfg or setup.py. * #2887: [EXPERIMENTAL] Added automatic discovery for py_modules and packages -- by :user:`abravalheri`. - Setuptools will try to find these values assuming that the package uses either the src-layout (a src directory containing all the packages or modules), the flat-layout (package directories directly under the project root), or the single-module approach (an isolated Python file, directly under the project root). - The automatic discovery will also respect layouts that are explicitly configured using the package_dir option. - For backward-compatibility, this behavior will be observed only if both py_modules and packages are not set. (Note: specifying ext_modules might also prevent auto-discover from taking place) - If setuptools detects modules or packages that are not supposed to be in the distribution, please manually set py_modules and packages in your setup.cfg or setup.py file. If you are using a flat-layout, you can also consider switching to src-layout. * #2887: [EXPERIMENTAL] Added automatic configuration for the name metadata -- by :user:`abravalheri`. - Setuptools will adopt the name of the top-level package (or module in the case of single-module distributions), only when name is not explicitly provided. - Please note that it is not possible to automatically derive a single name when the distribution consists of multiple top-level packages or modules. * #3066: Added vendored dependencies for :pypi:`tomli`, :pypi:`validate-pyproject`. - These dependencies are used to read pyproject.toml files and validate them. * #3067: [EXPERIMENTAL] When using pyproject.toml metadata, the default value of include_package_data is changed to True. * #3068: [EXPERIMENTAL] Add support for pyproject.toml configuration (as introduced by PEP 621). Configuration parameters not covered by standards are handled in the [tool.setuptools] sub-table. - In the future, existing setup.cfg configuration may be automatically converted into the pyproject.toml equivalent before taking effect (as proposed in #1688). Meanwhile users can use automated tools like :pypi:`ini2toml` to help in the transition. - Please note that the legacy backend is not guaranteed to work with pyproject.toml configuration. * #3125: Implicit namespaces (as introduced in PEP 420) are now considered by default during :doc:`package discovery `, when setuptools configuration and project metadata are added to the pyproject.toml file. - To disable this behaviour, use namespaces = False when explicitly setting the [tool.setuptools.packages.find] section in pyproject.toml. - This change is backwards compatible and does not affect the behaviour of configuration done in setup.cfg or setup.py. * #3152: [EXPERIMENTAL] Added support for attr: and cmdclass configurations in setup.cfg and pyproject.toml when package_dir is implicitly found via auto-discovery. * #3178: Postponed importing ctypes when hiding files on Windows. This helps to prevent errors in systems that might not have libffi installed. * #3179: Merge with pypa/distutilsAATT267dbd25ac- v60.10.0 * #2971: Deprecated upload_docs command, to be removed in the future. * #3137: Use samefile from stdlib, supported on Windows since Python 3.2. * #3170: Adopt nspektr (vendored) to implement Distribution._install_dependencies. * #3120: Added workaround for intermittent failures of backend tests on PyPy. These tests now are marked with XFAIL, instead of erroring out directly. * #3124: Improved configuration for :pypi:`rst-linker` (extension used to build the changelog). * #3133: Enhanced isolation of tests using virtual environments - PYTHONPATH is not leaking to spawned subprocesses -- by :user:`befeleme` * #3147: Added options to provide a pre-built setuptools wheel or sdist for being used during tests with virtual environments. Paths for these pre-built distribution files can now be set via the environment variables: PRE_BUILT_SETUPTOOLS_SDIST and PRE_BUILT_SETUPTOOLS_WHEEL.- v60.9.2 * #3035: When loading distutils from the vendored copy, rewrite __name__ to ensure consistent importing from inside and out.- v60.9.1 * #3102: Prevent vendored importlib_metadata from loading distributions from older importlib_metadata. * #3103: Fixed issue where string-based entry points would be omitted. * #3107: Bump importlib_metadata to 4.11.1 addressing issue with parsing requirements in egg-info as found in PyPy.- v60.9.0 * #2876: In the build backend, allow single config settings to be supplied. * #2993: Removed workaround in distutils hack for get-pip now that pypa/get-pip#137 is closed. * #3085: Setuptools no longer relies on pkg_resources for entry point handling. * #3098: Bump vendored packaging to 21.3. * Removed bootstrap script. * Warning: Users trying to install the unmaintained :pypi:`pathlib` backport from PyPI/sdist/source code may find problems when using setuptools >= 60.9.0. This happens because during the installation, the unmaintained implementation of pathlib is loaded and may cause compatibility problems (it does not expose the same public API defined in the Python standard library). Whenever possible users should avoid declaring pathlib as a dependency. An alternative is to pre-build a wheel for pathlib using a separated virtual environment with an older version of setuptools and install the library directly from the pre-built wheel.- v60.8.2 * #3091: Make concurrent.futures import lazy in vendored more_itertools package to a avoid importing threading as a side effect (which caused gevent/gevent#1865). -- by :user:`maciejp-ro`- v60.8.1 * #3084: When vendoring jaraco packages, ensure the namespace package is converted to a simple package to support zip importer.- v60.8.0 * #3085: Setuptools now vendors importlib_resources and importlib_metadata and jaraco.text. Setuptools no longer relies on pkg_resources for ensure_directory nor parse_requirements.- v60.7.1 * #3072: Remove lorem_ipsum from jaraco.text when vendored.- v60.7.0 * #3061: Vendored jaraco.text and use line processing from that library in pkg_resources. * #3070: Avoid AttributeError in easy_install.create_home_path when sysconfig.get_config_vars values are not strings.- v60.6.0 * #3043: Merge with pypa/distutilsAATTbb018f1ac3 including consolidated behavior in sysconfig.get_platform (pypa/distutils#104). * #3057: Don\'t include optional Home-page in metadata if no url is specified. -- by :user:`cdce8p` * #3062: Merge with pypa/distutilsAATTb53a824ec3 including improved support for lib directories on non-x64 Windows builds. * #3054: Used Py3 syntax super().__init__() -- by :user:`imba-tjd`- v60.5.4 * #3009: Remove filtering of distutils warnings. * #3031: Suppress distutils replacement when building or testing CPython.- v60.5.3 * #3026: Honor sysconfig variables in easy_install.- v60.5.2 * #2993: In _distutils_hack, for get-pip, simulate existence of setuptools.- v60.5.1 * #2918: Correct support for Python 3 native loaders.- v60.5.0 * #2990: Set the .origin attribute of the distutils module to the module\'s __file__.- v60.4.0 * #2839: Removed requires sorting when installing wheels as an egg dir. * #2953: Fixed a bug that easy install incorrectly parsed Python 3.10 version string. * #3006: Fixed startup performance issue of Python interpreter due to imports of costly modules in _distutils_hack -- by :user:`tiran` * #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 the jaraco.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 the files 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 the version of setuptools under test via the source tree), it was replaced by the new setuptools_sdist and setuptools_wheel fixtures (that are build only once per session testing and can be shared between all the workers for read-only usage).- v60.3.1 * #3002: Suppress AttributeError when detecting get-pip.- v60.3.0 * #2993: In _distutils_hack, bypass the distutils exception for pip when get-pip is being invoked, because it imports setuptools. * #2989: Merge with pypa/distutilsAATT788cc159. Includes fix for config vars missing from sysconfig.- v60.2.0 * #2974: Setuptools now relies on the Python logging infrastructure to log messages. Instead of using distutils.log. *, use logging.getLogger(name). *. * #2987: Sync with pypa/distutilsAATT2def21c5d74fdd2fe7996ee4030ac145a9d751bd, including fix for missing get_versions attribute (#2969), more reliance on sysconfig from stdlib. * #2962: Avoid attempting to use local distutils when the presiding version of Setuptools on the path doesn\'t have one. * #2983: Restore \'add_shim\' as the way to invoke the hook. Avoids compatibility issues between different versions of Setuptools with the distutils local implementation.- v60.1.1 * #2980: Bypass distutils loader when setuptools module is no longer available on sys.path.- v60.1.0 * #2958: In distutils_hack, only add the metadata finder once. In ensure_local_distutils, rely on a context manager for reliable manipulation. * #2963: Merge with pypa/distutilsAATTa5af364910. Includes revisited fix for pypa/distutils#15 and improved MinGW/Cygwin support from pypa/distutils#77.- v60.0.5 * #2960: Install schemes fall back to default scheme for headers.- v60.0.4 * #2954: Merge with pypa/distutilsAATTeba2bcd310. Adds platsubdir to config vars available for substitution.- v60.0.3 * #2940: Avoid KeyError in distutils hack when pip is imported during ensurepip.- v60.0.2 * #2938: Select \'posix_user\' for the scheme unless falling back to stdlib, then use \'unix_user\'.- v60.0.1 * #2944: Add support for extended install schemes in easy_install.- v60.0.0 * #2896: Setuptools once again makes its local copy of distutils the default. To override, set SETUPTOOLS_USE_DISTUTILS=stdlib.- v59.8.0 * #2935: Merge pypa/distutilsAATT460b59f0e68dba17e2465e8dd421bbc14b994d1f.- v59.7.0 * #2930: Require Python 3.7- v59.6.0 * #2925: Merge with pypa/distutilsAATT92082ee42c including introduction of deprecation warning on Version classes.- v59.4.0 * #2893: Restore deprecated support for newlines in the Summary field.- v59.3.0 * #2906: In ensure_local_distutils, re-use DistutilsMetaFinder to load the module. Avoids race conditions when _distutils_system_mod is employed.- v59.2.0 * #2875: Introduce changes from pypa/distutilsAATT514e9d0, including support for overrides from Debian and pkgsrc, unlocking the possibility of making SETUPTOOLS_USE_DISTUTILS=local the default again.- v59.1.1 + #2885: Fixed errors when encountering LegacyVersions.- v59.1.0 * #2497: Update packaging to 21.2. * #2877: Back out deprecation of setup_requires and replace instead by a deprecation of setuptools.installer and fetch_build_egg. Now setup_requires is still supported when installed as part of a PEP 517 build, but is deprecated when an unsatisfied requirement is encountered.- v59.0.1 * #2880: Removed URL requirement for pytest-virtualenv in setup.cfg. PyPI rejects packages with dependencies external to itself. Instead the test dependency was overwritten via tox.ini- v59.0.0 * #2856: Support for custom commands that inherit directly from distutils is deprecated. Users should extend classes provided by setuptools instead. * #2870: Started failing on invalid inline description with line breaks :class:`ValueError` -- by :user:`webknjaz` * #2698: Exposed exception classes from distutils.errors via setuptools.errors. * #2866: Incorporate changes from pypa/distutilsAATTf1b0a2b.- v58.5.3 * #2849: Add fallback for custom build_py commands inheriting directly from :mod:`distutils`, while still handling include_package_data=True for sdist.- v58.5.2 * #2847: Suppress \'setup.py install\' warning under bdist_wheel.- v58.5.1 * #2846: Move PkgResourcesDeprecationWarning above implicitly-called function so that it\'s in the namespace when version warnings are generated in an environment that contains them.- v58.5.0 * #1461: Fix inconsistency with include_package_data and packages_data in sdist by replacing the loop breaking mechanism between the sdist and egg_info commands -- by :user:`abravalheri`- v58.4.0 * #2497: Officially deprecated PEP 440 non-compliant versions.- Refresh patches * sort-for-reproducibility.patch * remove_mock.patch- Do not replace the vendored imports from .extern anymore * Upstream vendors more packages than before and we need to avoid buildcycles, too. * The vendored stuff was packaged all the time. * Update License tag for vendored stuff. * Drop remove-more-itertools-dependency-cycle.patch * Fri Mar 25 2022 Steve Kowalik - Refresh remove_mock.patch to add a missing file to it. * Mon Feb 07 2022 Dirk Müller - update to 58.3.0: * ``setup.py install`` and ``easy_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. * #1988: Deprecated the ``bdist_rpm`` command. * #2785: Replace confirparser\'s readfp with read_file, deprecated since Python 3.2. * #2823: Officially deprecated support for ``setup_requires``. Users are encouraged instead to migrate to PEP 518 ``build-system.requires`` in ``pyproject.toml``. Users reliant on ``setup_requires`` should consider pinning to this major version to avoid disruption. * #2762: Changed codecov.yml to configure the threshold to be lower * #2757: Add windows arm64 launchers for scripts generated by easy_install. * #2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command, for specifying file ownership within the produced tarball (similarly to the corresponding distutils ``sdist`` options). * #2792: Document how the legacy and non-legacy versions are compared, and reference to the `PEP 440 `_ scheme. * #2773: Retain case in setup.cfg during sdist. * #2777: Build does not fail fast when ``use_2to3`` is supplied but set to a false value. * #2769: Build now fails fast when ``use_2to3`` is supplied. * #2765: In Distribution.finalize_options, suppress known removed entry points to avoid issues with older Setuptools. * #2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires. * #2712: Added implicit globbing support for `[options.data_files]` values. * #2737: fix various syntax and style errors in code snippets in docs * Thu Dec 23 2021 Dominique Leuenberger - Remove unzip BuildRequires: the tarball is proper gz compressed, no zip files to decompress here. * Thu Jul 22 2021 Arun Persaud - update to version 57.4.0: * Changes + #2722: Added support for SETUPTOOLS_EXT_SUFFIX environment variable to override the suffix normally detected from the sysconfig module.- changes from version 57.3.0: * Changes + #2465: Documentation is now published using the Furo theme.- changes from version 57.2.0: * Changes + #2724: Added detection of Windows ARM64 build environments using the VSCMD_ARG_TGT_ARCH environment variable.- changes from version 57.1.0: * Changes + #2692: Globs are now sorted in \'license_files\' restoring reproducibility by eliminating variance from disk order. + #2714: Update to distutils at pypa/distutilsAATTe2627b7. + #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation. * Documentation changes + #2604: Revamped the backward/cross tool compatibility section to remove some confusion. Add some examples and the version since when entry_points are supported in declarative configuration. Tried to make the reading flow a bit leaner, gather some informations that were a bit dispersed. * Mon Jul 05 2021 Antonio Larrosa - Add patch to remove a dependency cycle between python-more-itertools and python-setuptools (which requires the former just for one simple function): * remove-more-itertools-dependency-cycle.patch * Fri Jun 25 2021 Ben Greiner - Update to 57.0.0 * big changelog since 44.1, see CHANGES.rst.- No python2 support anymore.- Refresh sort-for-reproducibility.patch and remove_mock.patch.- Drop importlib.patch, fixed upstream.- Remove testdata.tar.gz, packaged upstream.- Update requirements. * New Ring-1 dep: python-jaraco.path <-- python-singledispatch * Thu Jun 17 2021 Ben Greiner - Add python dist provides for setuptools, pkg_resources and easy_install: work around boo#1186870- Dont create a package for -test flavor * Fri Jan 22 2021 Matej Cepl - We cannot remove vendored packages when generating setuptools wheel (bsc#1177127).
|
|
|