b239fa9a29
- 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). + Modernized and refactored VCS handling in package_index. (bsc#1228105, CVE-2024-6345)
devel
Steve Kowalik2024-07-30 02:26:22 +00:00
8dc8a195c4
Accepting request 1183943 from devel:languages:python
Ana Guerrero2024-07-02 16:14:30 +00:00
3d3625aa29
- 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.
Dirk Mueller2024-06-29 05:46:01 +00:00
fdc67aa881
Accepting request 1177203 from devel:languages:python
Ana Guerrero2024-06-07 13:01:46 +00:00
54b60876e3
- 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/distutils@55982565e. + 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. * 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.
Steve Kowalik2024-05-28 05:21:21 +00:00
af1b828091
Accepting request 1136302 from devel:languages:python
Ana Guerrero2024-02-02 14:45:02 +00:00
2c5fb51ada
- update to 69.0.3: * Bugfixes - Retain valid names with underscores in egg_info.
Dirk Mueller2024-01-02 21:56:22 +00:00
0cd64b5191
Accepting request 1134666 from home:bnavigator:branches:devel:languages:python
Matej Cepl2024-01-02 17:38:05 +00:00
cf46c362db
Accepting request 1134566 from devel:languages:python
Ana Guerrero2023-12-25 18:04:40 +00:00
32e544bfcd
- Add patch allow-only-direct-compilation.patch: * Allow forcing direct compilation.
Steve Kowalik2023-12-22 04:11:50 +00:00
cfe933cfe4
- 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/distutils@7a04cbda0f. * 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
Dirk Mueller2023-12-18 12:04:07 +00:00
7c57cb40ac
Accepting request 1118008 from devel:languages:python
Ana Guerrero2023-10-16 20:33:01 +00:00
d540602739
Accepting request 1108257 from home:mcalabkova:branches:devel:languages:python:setuptools
Matej Cepl2023-09-02 19:36:07 +00:00
b3045b39ac
Accepting request 1105292 from devel:languages:python
Markéta Machová2023-08-22 14:46:55 +00:00
71e08d1966
Accepting request 1104361 from home:mcalabkova:branches:devel:languages:python
Markéta Machová2023-08-22 12:36:07 +00:00
6b624d185a
- 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)
Dirk Mueller2023-08-13 18:38:02 +00:00
5c62385612
- 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.
Steve Kowalik2023-05-03 02:25:57 +00:00
baeecca143
- 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.
Dirk Mueller2023-04-16 08:15:46 +00:00
8bf338017d
- 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 distutils@8c3c3d29, 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.
Steve Kowalik2023-03-09 05:04:51 +00:00
0b6fdbe0d7
- 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.
Daniel Garcia2022-11-24 11:02:22 +00:00
dc1c03296e
- 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/distutils@3e9d47e with compatibility fix for distutils.log.Log. * #3704: Fix temporary build directories interference with auto-discovery. - v65.6.0: * #3674: Sync with pypa/distutils@e0787fa, including pypa/distutils#183 updating distutils to use the Python logging framework.
Daniel Garcia2022-11-23 16:21:03 +00:00
b69b4710c5
- 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.
Daniel Garcia2022-11-14 10:33:55 +00:00
663b3097ea
- Skip test_pbr_integration because it tries to install pbr using pip from network
Daniel Garcia2022-10-19 09:33:51 +00:00
c0badd16dd
- 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/distutils@6852b20 including fix for pypa/distutils#181. - v65.4.0 * #3609: Merge with pypa/distutils@d82d926 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 <userguide/quickstart> -- by :user:mfbutner * #3561: Fixed accidental name matching in editable hooks. - v65.2.0 * #3553: Sync with pypa/distutils@22b9bcf, including fixed cross-compiling support and removing deprecation warning per pypa/distutils#169.
Daniel Garcia2022-10-19 07:45:56 +00:00
9b561131ed
- 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 <https://www.python.org/dev/peps/pep-0440/>_ 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
Dirk Mueller2022-02-07 11:04:33 +00:00
a8de44f268
- update to 44.1.0 * Set sys.argv[0] in setup script run by build_meta.__legacy__ * Fix for Python 4: replace unsafe six.PY3 with six.PY2 * Fixed a bug in the “setuptools.finalize_distribution_options” hook that lead to ignoring the order attribute of entry points managed by this hook. * Avoid loading working set during Distribution.finalize_options prior to invoking _install_setup_requires, broken since v42.0.0.
Ondřej Súkup2020-08-13 11:09:10 +00:00
0ab740a1c9
- Fix build without python2
Tomáš Chvátal
2020-03-13 13:17:24 +00:00
aa9e8b0acb
- remove dependency on six, this is vendored in setuptools to break the buildcycle with six (bsc#1166139)
Dirk Mueller2020-03-10 08:04:47 +00:00
1f1ebc325a
- update to 44.0.0 - last version with python2 support - add testdata.tar.gz -> missing data for testsuite * Drop support for Python 3.4. * include pyproject.toml in source distribution by default. Projects relying on the previous behavior where pyproject.toml * Setuptools once again declares 'setuptools' in the build-system.requires and adds PEP 517 build support by declaring itself as the build-backend * Fix support for easy_install's find-links option in setup.cfg * Build dependencies (setup_requires and tests_require) now install transitive dependencies indicated by extras. * Mark the easy_install script and setuptools command as deprecated, and use pip when available to fetch/build wheels for missing setup_requires/tests_require requirements, with the following differences in behavior: + support for python_requires + better support for wheels (proper handling of priority with respect to PEP 425 tags) + PEP 517/518 support + eggs are not supported + no support for the allow_hosts easy_install option (index_url/find_links are still honored) + pip environment variables are honored (and take precedence over easy_install options) * Removed the "upload" and "register" commands in favor of twine. * Add support for the license_files option in setup.cfg to automatically include multiple license files in a source distribution. * Update handling of wheels compatibility tags: * add support for manylinux2010 * fix use of removed 'm' ABI flag in Python 3.8 on Windows * Fix empty namespace package installation from wheel. * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", enabling plugins like setuptools_scm to configure options on the distribution at finalization time.
Ondřej Súkup2020-02-04 14:34:09 +00:00
47c8c7ab20
- Try to use system packages rather than the vendored variants
Tomáš Chvátal
2019-10-16 14:24:01 +00:00
274c3cbad5
- Add patch to sort outputs for better reproducability: * sort-for-reproducibility.patch - Add missing dep on ordered-set as it is now in the vendored dir too
Tomáš Chvátal
2019-10-16 12:00:39 +00:00
f46ea89c28
Accepting request 737429 from home:mcalabkova:branches:devel:languages:python
Tomáš Chvátal
2019-10-11 09:46:40 +00:00
0577003532
- Switch to multibuild to enable testsuite
Tomáš Chvátal
2019-08-21 13:08:44 +00:00
91b3263796
- Update to 41.2.0: * #479: Remove some usage of the deprecated imp module. * #1565: Changed html_sidebars from string to list of string as per https://www.sphinx-doc.org/en/master/changes.html#id58 * #1697: Moved most of the constants from setup.py to setup.cfg * #1756: Forse metadata-version >= 1.2. when project urls are present.
Tomáš Chvátal
2019-08-21 12:18:57 +00:00