summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Use dir_util in dist_info command for consistencydev/avoid_wheel_unstable_apiAnderson Bravalheri2023-05-031-8/+13
|
* Small adjustments in dist_infoAnderson Bravalheri2023-05-031-2/+4
|
* Adapt tests to the new dist-info implementationAnderson Bravalheri2023-05-031-3/+28
|
* Avoid using pypa/wheel unstable API in dist_infoAnderson Bravalheri2023-05-031-44/+44
|
* Improve atomicity when writing PKG-INFOdev/core_metadataAnderson Bravalheri2023-05-032-1/+24
| | | | | | | | | | | | | | | | | | For the time being, when `setuptools.build_meta` is called, `egg_info.egg_base` is accidentally set to the project root between the several calls to the different build hooks. This means that if the hooks are called, they will try to overwrite `setuptools.egg-info/PKG-INFO`, and for a very short interval of time it will be an empty file. Another process may then try to simultaneously use `importlib.metadata` to list entry-points. However to sort entry-points, `importlib.metadata` will try to read the `Name` field in the `PKG-INFO/METADATA` files and will raise an error/warning if that file is empty. This commit tries to use `os.replace` to avoid having an empty PKG-INFO while `importlib.metadata` is used.
* Test parity between setuptools PKG-INFO and wheel METADATAAnderson Bravalheri2023-05-031-1/+83
|
* Re-use pre-parsed requirements when writing requires.txtAnderson Bravalheri2023-05-031-10/+12
|
* Adjust apply_pyproject testsAnderson Bravalheri2023-05-031-0/+13
|
* Use special attributes with requirements for PKG-INFOAnderson Bravalheri2023-05-031-2/+2
|
* Record normalized requirements in dist.metadata objectAnderson Bravalheri2023-05-031-6/+15
|
* Fix merge problemsAnderson Bravalheri2023-05-031-9/+9
|
* Add Requires-Dist to PKG-INFOAnderson Bravalheri2023-05-032-3/+56
|
* Add safe_extra to _normalizationAnderson Bravalheri2023-05-031-0/+11
|
* Extract core metadata logic into dedicated moduleAnderson Bravalheri2023-05-035-417/+439
|
* Minor adjustments in apply_pyproject.tomldev/egg_info_requiresAnderson Bravalheri2023-05-032-4/+4
|
* Use _requirestxt logic for writing 'requires.txt'Anderson Bravalheri2023-05-032-25/+34
| | | | | | | | | This change extracts the logic for writing 'requires.txt' from the ``egg_info`` module into ``_requirestxt``. It also adds the missing pre-processing for ``install_requires`` and ``extras_require`` previously done in ``dist`` but now implemented in ``_requires.txt``.
* Extract egg_info-specific processing of requirements from dist to _reqsAnderson Bravalheri2023-05-032-76/+108
|
* Attempt to use a valid PEP 440 version fallbackAnderson Bravalheri2023-05-021-2/+2
|
* Adequate venv fixtures to the latest change in virtualenvAnderson Bravalheri2023-05-022-3/+5
| | | | | | | | Since version v20.23.0, `virtualenv` will no longer include `wheel` and `setuptools` in the created folders. Some tests in the setuptools test suite assume that these packages are always present. So we need to adequate these tests.
* Avoid bitly linksAnderson Bravalheri2023-04-242-2/+3
|
* Remove redundant URL partAnderson Bravalheri2023-04-241-1/+1
|
* Fix . When value is false return instead of raising DistutilsSetupError ↵Jam Hernandez Quiceno2023-04-201-0/+1
| | | | exception
* Overhaul for better visibility of warnings (#3849)Anderson Bravalheri2023-04-2026-358/+659
|\
| * Apply suggestions from code reviewAnderson Bravalheri2023-03-196-10/+10
| | | | | | Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com>
| * Cluster deprecations due_dateAnderson Bravalheri2023-03-0710-14/+14
| |
| * Enforce deprecation warnings in setuptools test suiteAnderson Bravalheri2023-03-071-1/+2
| |
| * Use new warnings in setuptools/package_index.pyAnderson Bravalheri2023-03-071-2/+6
| |
| * Use new warnings in setuptools/installer.pyAnderson Bravalheri2023-03-071-12/+8
| |
| * Use new warnings in setuptools/dist.pyAnderson Bravalheri2023-03-071-30/+52
| |
| * Use new warnings in setuptools/config/setupcfg.pyAnderson Bravalheri2023-03-072-51/+66
| |
| * Use new warnings in setuptools/config/pyprojecttoml.pyAnderson Bravalheri2023-03-071-22/+20
| |
| * Use new warnings in setuptools/config/expand.pyAnderson Bravalheri2023-03-071-2/+2
| |
| * Use new warnings in setuptools/config/_apply_pyprojecttoml.pyAnderson Bravalheri2023-03-072-22/+18
| |
| * Use new warnings in setuptools/config/__init__.pyAnderson Bravalheri2023-03-071-11/+18
| |
| * Use new warnings in setuptools/command/upload_docs.pyAnderson Bravalheri2023-03-071-6/+9
| |
| * Use new warnings in setuptools/command/install.pyAnderson Bravalheri2023-03-071-8/+14
| |
| * Use new warnings in setuptools/command/egg_info.pyAnderson Bravalheri2023-03-071-18/+34
| |
| * Use new warnings in setuptools/command/editable_wheel.pyAnderson Bravalheri2023-03-071-65/+66
| |
| * Use new warnings in setuptools/command/easy_install.pyAnderson Bravalheri2023-03-071-15/+18
| |
| * Use new warnings in setuptools/command/dist_info.pyAnderson Bravalheri2023-03-071-2/+3
| |
| * Use new warnings in setuptools/command/build_py.pyAnderson Bravalheri2023-03-071-27/+45
| |
| * Use new warnings in setuptools/command/build.pyAnderson Bravalheri2023-03-071-8/+11
| |
| * Use new warnings in setuptools/command/bdist_rpm.pyAnderson Bravalheri2023-03-071-6/+9
| |
| * Use new warnings in setuptools/build_meta.pyAnderson Bravalheri2023-03-071-6/+9
| |
| * Use new warnings in setuptools/_normalization.pyAnderson Bravalheri2023-03-071-16/+13
| |
| * Use new warnings in setuptools/_importlib.pyAnderson Bravalheri2023-03-061-8/+11
| |
| * Use new warnings in setuptools/__init__.pyAnderson Bravalheri2023-03-061-8/+10
| |
| * Add tests for warning formatting and tweaks to implementationAnderson Bravalheri2023-03-061-0/+106
| |
| * Add warning hierarchy and helper/display functionsAnderson Bravalheri2023-03-061-1/+98
| |
| * Import SetuptoolsDeprecationWarning from setuptools.warningsAnderson Bravalheri2023-03-0611-11/+11
| |