summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate behavior now that it fits on one line.feature/refactor-parse-requirementsJason R. Coombs2022-01-231-3/+3
|
* Extract function for joining continuations in lines.Jason R. Coombs2022-01-231-12/+35
|
* Extract function for dropping comments.Jason R. Coombs2022-01-231-4/+16
|
* Add tests for yield_lines.Jason R. Coombs2022-01-231-1/+14
|
* Simplify vendored script to simply include the metadata.Jason R. Coombs2022-01-1426-0/+1038
|
* Update vendored with no changes.Jason R. Coombs2022-01-141-18/+18
|
* Merge pull request #2918 from nitzmahone/fix_nonlegacy_loaderJason R. Coombs2022-01-101-1/+3
|\ | | | | fix `pkg_resources` import failures w/ py3-only loaders
| * fix failures w/ py3-only loadersMatt Davis2021-12-061-1/+3
| |
* | Merge pull request #2839 from msuozzo/patch-1Jason R. Coombs2022-01-061-2/+2
|\ \ | | | | | | Maintain `requires` order in METADATA.
| * | Use MappingProxyType to ensure immutability.Matthew Suozzo2022-01-061-1/+1
| | |
| * | Merge remote-tracking branch 'upstream/main' into patch-1Anderson Bravalheri2022-01-0617-1038/+1098
| |\ \ | | |/
| * | Remove pkg_resources nondeterminism.Matthew Suozzo2021-11-281-2/+2
| | |
* | | Change vendoring script to preserve license filesAnderson Bravalheri2021-12-214-0/+221
| |/ |/| | | | | | | | | | | As pointed out by #2950, it is probably a good idea to keep the license files for the vendored dependencies. This is done by changing the `pavement.py` tasks.
* | Re-implement yield_lines as a singledispatch function.Jason R. Coombs2021-12-031-12/+13
| |
* | Update setuptools.readthedocs.io to setuptools.pypa.ioHugo van Kemenade2021-11-161-1/+1
| |
* | Replace invalid local version with a valid form.Jason R. Coombs2021-11-151-1/+1
| |
* | Fix sorting of filenames not to rely on LegacyVersion. Fixes #2885.Jason R. Coombs2021-11-151-2/+11
| |
* | Update packaging to 21.2. Ref #2497.debt/update-packagingJason R. Coombs2021-11-1415-1013/+1058
| |
* | Move warning definition above implicit behavior on import. Fixes #2846.Jason R. Coombs2021-11-031-9/+9
| |
* | Raise a deprecation warning when an invalid version is encountered. Ref ↵Jason R. Coombs2021-10-311-0/+5
|/ | | | #2497. Ref #2822.
* Fix misc. doc typosluz paz2021-05-141-1/+1
| | | Found via `codespell`
* Use importlib.util.spec_from_loader in find_specSviatoslav Sydorenko2021-04-091-2/+2
|
* Drop deprecated `find_module` from vendor importerSviatoslav Sydorenko2021-04-081-8/+0
|
* Implement `find_spec` in vendored module importersSviatoslav Sydorenko2021-04-081-6/+15
| | | | | | | | | | | | | | | This change makes the import warning emitted by Python 3.10 disappear but implementing the hook that is supposed to replace the old import mechanism. Refs: * https://bugs.python.org/issue42134 * https://bugs.python.org/issue43540 * https://github.com/pypa/setuptools/issues/2632#issuecomment-815701078 Fixes #2632 Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Remove unused variableJason R. Coombs2021-01-161-1/+0
|
* Merge pull request #2490 from thatch/mainJason R. Coombs2021-01-163-1/+11
|\ | | | | Fix .egg-info metadata support for zipimport
| * Rely on tuple argument to endswithJason R. Coombs2021-01-161-1/+1
| | | | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
| * Find .egg-info in zipimport tooTim Hatch2020-12-211-1/+2
| | | | | | | | Fixes #2489
| * Failing test for #2489Tim Hatch2020-12-212-0/+9
| |
* | Merge pull request #2517 from hroncok/load_moduleJason R. Coombs2021-01-161-0/+6
|\ \ | | | | | | Define create_module()/exec_module() in VendorImporter
| * | Define create_module()/exec_module() in VendorImporterMiro Hrončok2021-01-041-0/+6
| |/ | | | | | | Fixes https://github.com/pypa/setuptools/issues/2481
* | Merge pull request #2518 from webknjaz/maintenance/flake8-mccabe-complexityJason R. Coombs2021-01-161-3/+6
|\ \ | | | | | | Enable McCabe complexity check in flake8
| * | Apply noqa C901 comments to overly complex codeSviatoslav Sydorenko2020-12-311-3/+6
| |/
* | Avoid deprecated load_module() in pkg_resources namespace delarationPetr Viktorin2021-01-061-1/+2
|/ | | | Fixes: https://github.com/pypa/setuptools/issues/2493
* Fix tests with pytest 6.2Chih-Hsuan Yen2020-12-131-2/+2
| | | | | | | | The latest pytest deprecates pytest.yield_fixture in favor of pytest.fixture [1]. The changelog [2] says that both are the same. [1] https://github.com/pytest-dev/pytest/pull/7988 [2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12
* Remove six from 'extern' as vendored.Jason R. Coombs2020-08-161-1/+1
|
* Remove six as a vendored dependency.Jason R. Coombs2020-08-162-869/+0
|
* Remove dependency on six from packaging.Jason R. Coombs2020-08-161-1/+1
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-164-70/+13
|
* Merge pull request #2153 from pypa/bugfix/2129-better-egg-detectionJason R. Coombs2020-08-131-3/+14
|\ | | | | Stricter egg detection
| * Keep the full path for each entry when enumerating entries for a candidate path.bugfix/2129-better-egg-detectionJason R. Coombs2020-07-031-1/+4
| |
| * In pkg_resources, no longer detect any pathname ending in .egg as a Python ↵Jason R. Coombs2020-05-281-2/+10
| | | | | | | | egg. Now the path must be an unpacked egg or a zip file. Fixes #2129.
* | Update packaging to 20.4. Closes #2310.Jason R. Coombs2020-08-1212-192/+888
| |
* | Remove py2_warn, no longer needed as a SyntaxError is encountered before the ↵Jason R. Coombs2020-07-072-17/+0
| | | | | | | | warning can be issueed.
* | Merge branch 'master' into 2020-06-11-raise-fromJason R. Coombs2020-07-0312-196/+667
|\ \
| * \ Merge pull request #2180 from ozars/2175-bump-pkg-resources-vendorJason R. Coombs2020-07-0311-186/+660
| |\ \ | | | | | | | | Update vendor packaging in pkg_resources to v19.2
| | * | Update vendor packaging in pkg_resources to v19.2Omer Ozarslan2020-07-0311-186/+660
| | |/
| * | Merge pull request #2137 from pypa/debt/remove-RequirementParseErrorJason R. Coombs2020-07-031-9/+5
| |\ \ | | | | | | | | Remove superfluous RequirementParseError
| | * | Add a compatibility wrapper, so downstream consumers trapping a ↵Jason R. Coombs2020-06-151-0/+4
| | | | | | | | | | | | | | | | RequirementParseError will now trap an InvalidRequirement, allowing transition to only trapping an InvalidRequirement.
| | * | Remove superfluous RequirementParseError. Ref #1832.Jason R. Coombs2020-05-241-9/+1
| | | |