| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | change find_module to find_spec for py37 compat | Alex Hirzel | 2018-10-28 | 1 | -4/+5 | |
| | | | | | ||||||
| * | | | | Merge pull request #1899 from pypa/feature/1823-fail-warnings | Jason R. Coombs | 2020-03-08 | 1 | -5/+6 | |
| |\ \ \ \ | | | | | | | | | | | Error on warnings. | |||||
| | * | | | | Reword UserWarning for insecure extraction path so that the message can be ↵ | Jason R. Coombs | 2020-03-07 | 1 | -5/+6 | |
| | | |_|/ | |/| | | | | | | | | | | keyed for ignoring it. Ref #1899. | |||||
| * | | | | Merge branch 'master' into patch-1 | Jason R. Coombs | 2020-03-07 | 14 | -56/+94 | |
| |\ \ \ \ | |/ / / | ||||||
| | * | | | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-01-19 | 3 | -6/+9 | |
| | | | | | ||||||
| | * | | | Update Python 2 warning to include a minimum sunset date and add a preamble ↵ | Jason R. Coombs | 2020-01-14 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | to make referencing the warning more reliable. Ref #1458. | |||||
| | * | | | Add obnoxious warning about Python 2 being unsupported on this release with ↵ | Jason R. Coombs | 2020-01-03 | 2 | -0/+20 | |
| | | | | | | | | | | | | | | | | | guidance on how to avoid the warning and what to do if that guidance was ineffective. | |||||
| | * | | | drop support for Python 3.4 | Benoit Pierre | 2019-11-15 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | test: drop pkg_resources tests dependency on easy_install | Benoit Pierre | 2019-11-13 | 9 | -45/+39 | |
| | | | | | ||||||
| | * | | | Merge pull request #1814 from benoit-pierre/fix_requirement_hash/equality | Jason R. Coombs | 2019-10-27 | 2 | -0/+18 | |
| | |\ \ \ | | | | | | | | | | | pkg_resources: fix ``Requirement`` hash/equality implementation | |||||
| | | * | | | pkg_resources: fix ``Requirement`` hash/equality implementation | Benoit Pierre | 2019-08-13 | 2 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | Take PEP 508 direct URL into account. | |||||
| | * | | | | Fixes for python3.10 | Anthony Sottile | 2019-08-17 | 3 | -3/+3 | |
| | |/ / / | ||||||
| * | | | | Also remove mysterious hack from pkg_resources.extern | Jason R. Coombs | 2020-03-07 | 1 | -7/+0 | |
| |/ / / | ||||||
| * | | | Fix #1790 : Include the file path in get_metadata() UnicodeDecodeErrors (#1791) | Chris Jerdonek | 2019-07-13 | 2 | -2/+65 | |
| | | | | | | | | | | | | | Include the file path in get_metadata() UnicodeDecodeErrors. | |||||
| * | | | tests: fix `test_distribution_version_missing` to work with pytest>=5.0 | Benoit Pierre | 2019-06-30 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Include file path when Version: missing | Chris Jerdonek | 2019-04-03 | 2 | -3/+118 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to pip's github issue pypa/pip#6194. This has come up in pip's issue tracker (github) multiple times: - pypa/pip#6177 - pypa/pip#6283 - pypa/pip#6194 | |||||
| * | | | Add Distribution._get_version() for DRY | Chris Jerdonek | 2019-04-03 | 1 | -2/+8 | |
| | | | | ||||||
| * | | | Add two tests capturing expectation for '' and None to ↵ | Jason R. Coombs | 2019-02-13 | 1 | -0/+13 | |
| | | | | | | | | | | | | | _validate_resource_path. Ref #1686. | |||||
| * | | | Disallow Windows absolute paths unconditionally with no deprecation period. | Jason R. Coombs | 2019-01-27 | 1 | -3/+24 | |
| | | | | ||||||
| * | | | Remove usage relying on deprecated and ambiguous leading slash. Ref #1635 | Jason R. Coombs | 2019-01-20 | 2 | -3/+1 | |
| | | | | ||||||
| * | | | Also disallow leading '/' in resource paths. Ref #1635. | Jason R. Coombs | 2019-01-20 | 1 | -3/+6 | |
| | | | | ||||||
| * | | | Update docs to match implementation that resource names are rooted at the ↵ | Jason R. Coombs | 2019-01-20 | 1 | -7/+3 | |
| | | | | | | | | | | | | | package. Ref #1635. | |||||
| * | | | Add validation of a resource path according to the docs. Only warn for now. ↵ | Jason R. Coombs | 2019-01-20 | 1 | -0/+45 | |
| | | | | | | | | | | | | | Ref #1635. | |||||
| * | | | Merge pull request #1521 from uranusjr/normalize-path-normpath | Paul Ganssle | 2018-11-10 | 2 | -1/+54 | |
| |\ \ \ | |_|/ |/| | | Call os.path.normpath to normalize paths for comp | |||||
| | * | | Test normalize_path on various inputs | Tzu-ping Chung | 2018-10-29 | 1 | -4/+52 | |
| | | | | ||||||
| | * | | Merge branch 'master' into normalize-path-normpath | Jason R. Coombs | 2018-10-25 | 1 | -1/+12 | |
| | |\ \ | | |/ | ||||||
| | * | | Call os.path.normpath to normalize paths for comp | Tzu-ping Chung | 2018-10-25 | 2 | -1/+6 | |
| | | | | ||||||
| * | | | Add unit tests for PkgResourcesDeprecationWarning | robinjhuang | 2018-10-28 | 1 | -1/+10 | |
| | | | | ||||||
| * | | | Add custom deprecation warning classes | Junhan Huang | 2018-10-28 | 1 | -1/+12 | |
| | |/ |/| | | | | | | | | | | | | | | | | | | | `DeprecationWarning` is not visible by default in the latest versions of CPython, so this switches the deprecation warnings in setuptools and pkg_resources over to custom classes derived from `Warning` instead. Fixes issue github issue #159 Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com> | |||||
| * | | Merge pull request #1335 from themiwi/patch-1 | Jason R. Coombs | 2018-10-25 | 1 | -1/+12 | |
| |\ \ | |/ |/| | Adds call to os.path.abspath() in pkg_resources.normalize_path() on Cygwin | |||||
| | * | Extract patch and its purpose into a specialized function which can be ↵ | Jason R. Coombs | 2018-10-25 | 1 | -9/+12 | |
| | | | | | | | | | excluded from coverage. | |||||
| | * | Adds call to os.path.abspath() in pkg_resources.normalize_path() on Cygwin | Michael Wild | 2018-04-22 | 1 | -1/+9 | |
| | | | | | | | This works around problems that stem from getcwd(3) on Cygwin returning paths containing symlinks. I am not sure at all whether this is a good place to fix it, but that's where I got hit by the issue when doing a `python setup.py develop` (or `pip install -e .`). | |||||
| * | | Bump to pyparsing 2.2.1 and re-run paver update_vendored. Fixes #1480. | Jason R. Coombs | 2018-09-23 | 2 | -13/+35 | |
| | | | ||||||
| * | | Revert "Make safe_name compliant to PEP 503 and behaviour of pip > 8.1.2" | Jason R. Coombs | 2018-09-16 | 1 | -2/+2 | |
| | | | ||||||
| * | | Merge pull request #1402 from ↵ | Jason R. Coombs | 2018-09-16 | 1 | -5/+6 | |
| |\ \ | | | | | | | | | | | | | daa/pkg-resources-always-handle-namespace-package-path Improved handling of module __path__ attribute for namespace packages, fixes #1321 | |||||
| | * | | always process module.__path__ for namespace packages, fixes #1321 | Alexander Duryagin | 2018-06-27 | 1 | -5/+6 | |
| | | | | ||||||
| * | | | Merge pull request #1324 from torsava/safe_name | Jason R. Coombs | 2018-09-16 | 1 | -2/+2 | |
| |\ \ \ | | | | | | | | | Make safe_name compliant to PEP 503 and behaviour of pip > 8.1.2 | |||||
| | * | | | Make safe_name compliant to PEP 503 and behaviour of pip > 8.1.2 | Tomas Orsava | 2018-04-12 | 1 | -2/+2 | |
| | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to PEP 503, a "normalized" project name has all runs of the characters ., - and _ replaced with a single - character. [0] Similarly, since version 8.1.2, that is the behaviour of pip as well. [1] However, Setuptools still allows a . in the normalized name, which is causing trouble down the line. [0] https://www.python.org/dev/peps/pep-0503/#normalized-names [1] https://github.com/pypa/pip/issues/3666 | |||||
| * | | | Suppress warnings in importer.find_module. Fixes #1111. | Jason R. Coombs | 2018-09-14 | 1 | -1/+6 | |
| | | | | ||||||
| * | | | Rely on rpartition. | Jason R. Coombs | 2018-09-14 | 1 | -4/+4 | |
| | | | | ||||||
| * | | | Assign on separate lines | Jason R. Coombs | 2018-09-14 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Merge pull request #1451 from hugovk/upgrade-appdirs | Paul Ganssle | 2018-08-17 | 2 | -17/+73 | |
| |\ \ \ | | | | | | | | | Upgrade vendored appdirs from 1.4.0 to 1.4.3 | |||||
| | * | | | Upgrade vendored appdirs from 1.4.0 to 1.4.3 | Hugo | 2018-08-17 | 2 | -17/+73 | |
| | | | | | ||||||
| * | | | | Merge pull request #1450 from hugovk/upgrade-pyparsing | Paul Ganssle | 2018-08-17 | 1 | -15/+39 | |
| |\ \ \ \ | |/ / / |/| | | | Upgrade vendored PyParsing from 2.1.10 to 2.2.0 | |||||
| | * | | | Upgrade vendored pyparsing from 2.1.10 to 2.2.0 | Hugo | 2018-08-09 | 1 | -15/+39 | |
| | | | | | ||||||
| * | | | | Rewrite loop as single generator expression. | Jason R. Coombs | 2018-08-11 | 1 | -7/+6 | |
| |/ / / | ||||||
| * | | | Merge pull request #1418 from pganssle/egg_race_condition | Paul Ganssle | 2018-07-20 | 2 | -2/+41 | |
| |\ \ \ | | | | | | | | | Egg race condition | |||||
| | * | | | Fix race condition in _bypass_ensure_directory | Paul Ganssle | 2018-07-12 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a race condition in _bypass_ensure_directory where two threads or processes may erroneously fail because they are both creating the same directory. A more robust implementation of this may involve exposing the un-wrapped os.makedirs. Originally reported with proposed patch by @JonKohler in github PR #1412. This patch came out of discussions on that thread. | |||||
| | * | | | Add test for cache_path race condition | Paul Ganssle | 2018-07-12 | 1 | -1/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This mocks out the isdir call so that the directory is created immediately after you determine whether or not it exists, thus simulating a race condition between two threads or processes creating the same directory. | |||||
| * | | | | Switch over to using six.PY{2,3} when possible | Paul Ganssle | 2018-07-10 | 1 | -1/+3 | |
| |/ / / | ||||||
