Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle Python3.12a7 compatibility problems | Anderson Bravalheri | 2023-04-19 | 2 | -0/+12 |
| | |||||
* | Add DeprecationWarning to `pkg_resources.declare_namespace` | Anderson Bravalheri | 2023-02-13 | 1 | -4/+7 |
| | |||||
* | Consistently use unittest.mock in tests | Miro Hrončok | 2022-10-17 | 2 | -5/+2 |
| | | | | | | | - Some tests used unittest.mock from the standard library - Some tests used mock from PyPI - Some tests tried to import unittest.mock with a fallback to mock (the import never fails on Python 3.7+, older Pythons are not supported) | ||||
* | Add tests for normalized package name resolution | Łukasz Daniluk | 2022-03-24 | 1 | -1/+20 |
| | | | | | | | Due to PEP 503 package requirements might be specified using normalized name which won't be resolved by WorkingSet. Signed-off-by: Łukasz Daniluk <lukasz.dan@gmail.com> | ||||
* | Replace invalid local version with a valid form. | Jason R. Coombs | 2021-11-15 | 1 | -1/+1 |
| | |||||
* | Failing test for #2489 | Tim Hatch | 2020-12-21 | 2 | -0/+9 |
| | |||||
* | Fix tests with pytest 6.2 | Chih-Hsuan Yen | 2020-12-13 | 1 | -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 Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 3 | -36/+8 |
| | |||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-05-12 | 1 | -2/+2 |
| | | | | Fixes #2107 | ||||
* | To assess the directoriness of an entry, include the path of that entry. | Jason R. Coombs | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | Restore parameter | Jason R. Coombs | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | Stop recognizing files ending with .dist-info as dist | Nguyễn Gia Phong | 2020-04-24 | 1 | -0/+8 |
| | | | | As proposed in PEP 376, dist-info distributions must be directories. | ||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-01-19 | 2 | -5/+6 |
| | |||||
* | 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 | 1 | -0/+17 |
|\ | | | | | pkg_resources: fix ``Requirement`` hash/equality implementation | ||||
| * | pkg_resources: fix ``Requirement`` hash/equality implementation | Benoit Pierre | 2019-08-13 | 1 | -0/+17 |
| | | | | | | | | Take PEP 508 direct URL into account. | ||||
* | | Fixes for python3.10 | Anthony Sottile | 2019-08-17 | 1 | -1/+1 |
|/ | |||||
* | Fix #1790 : Include the file path in get_metadata() UnicodeDecodeErrors (#1791) | Chris Jerdonek | 2019-07-13 | 1 | -0/+54 |
| | | | | 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 | 1 | -0/+84 |
| | | | | | | | | | | 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 | ||||
* | Remove usage relying on deprecated and ambiguous leading slash. Ref #1635 | Jason R. Coombs | 2019-01-20 | 1 | -2/+0 |
| | |||||
* | Merge pull request #1521 from uranusjr/normalize-path-normpath | Paul Ganssle | 2018-11-10 | 1 | -0/+53 |
|\ | | | | | Call os.path.normpath to normalize paths for comp | ||||
| * | Test normalize_path on various inputs | Tzu-ping Chung | 2018-10-29 | 1 | -4/+52 |
| | | |||||
| * | Call os.path.normpath to normalize paths for comp | Tzu-ping Chung | 2018-10-25 | 1 | -0/+5 |
| | | |||||
* | | Add unit tests for PkgResourcesDeprecationWarning | robinjhuang | 2018-10-28 | 1 | -1/+10 |
|/ | |||||
* | 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. | ||||
* | Use text_type and string_types from six | Jason R. Coombs | 2018-06-03 | 1 | -7/+3 |
| | |||||
* | Use raw strings for regular expressions | Jason R. Coombs | 2018-06-03 | 1 | -2/+2 |
| | |||||
* | Use Python 3 syntax for new-style clasess | Jason R. Coombs | 2018-06-03 | 2 | -4/+8 |
| | |||||
* | Drop support for EOL Python 3.3 | Hugo | 2018-05-24 | 1 | -3/+3 |
| | |||||
* | python 2.7 does not implement object.__dir__() | jeffrey k eliasen | 2018-05-15 | 1 | -0/+11 |
| | |||||
* | tests | jeffrey k eliasen | 2018-05-15 | 1 | -0/+18 |
| | |||||
* | Extract version comparisons as pytest parameters. | Jason R. Coombs | 2018-03-17 | 1 | -84/+51 |
| | |||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2018-03-06 | 4 | -17/+41 |
| | |||||
* | Add testcase for pkg_resources.ZipProvider.resource_listdir | Doug Greiman | 2017-12-11 | 1 | -0/+35 |
| | |||||
* | Merge branch 'master' into drop-py26 | Jason R. Coombs | 2017-11-19 | 1 | -2/+2 |
|\ | |||||
| * | Clean up resource warnings during tests | Jon Dufresne | 2017-09-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | When tests are invoked with the Python flag -Wall, warnings appear in the form of: ResourceWarning: unclosed file ... Close all files and resources deterministically to avoid such warnings. Most often, easiest to do using a context manager. | ||||
* | | Merge branch 'master' into drop-py26 | Jason R. Coombs | 2017-09-03 | 4 | -5/+545 |
|\ \ | |/ | |||||
| * | pkg_resources: improve WorkingSet.resolve(replace_conflicting=True) | Benoit Pierre | 2017-08-29 | 1 | -0/+478 |
| | | | | | | | | | | | | | | | | Correctly replace conflicting distributions in sub-requirements if possible (instead of only for top-level requirements passed as arguments). Fix #1124. | ||||
| * | Better detect unpacked eggs | Leonardo Rochael Almeida | 2017-07-31 | 1 | -0/+65 |
| | | | | | | | | | | | | Do not assume a directory named in `.egg` is an egg, unless it has an actual egg metadata directory. Closes #462 | ||||
| * | tests: switch back to mock instead of backports.unittest_mock | Benoit Pierre | 2017-07-15 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into feature/re-vendor-sadface | Jason R. Coombs | 2017-05-30 | 1 | -1/+1 |
| |\ | |||||
| | * | Python 3.6 invalid escape sequence deprecation fixes | Ville Skyttä | 2017-02-24 | 1 | -1/+1 |
| | | | |||||
| * | | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle" | Jason R. Coombs | 2017-02-24 | 2 | -3/+3 |
| |/ | | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd. | ||||
| * | Rely on backports.unittest_mock plugin to make mock available on old Python ↵ | Jason R. Coombs | 2017-01-30 | 1 | -4/+1 |
| | | | | | | | | versions. Ref #949. | ||||
| * | Strip out vendored packages and require them instead. Ref #581. | Jason R. Coombs | 2017-01-01 | 2 | -3/+3 |
| | | |||||
* | | Drop support for Python 2.6, removing lots of compatibility code for a ↵ | Jason R. Coombs | 2016-12-09 | 1 | -18/+10 |
|/ | | | | leaner, cleaner codebase. Fixes #878. | ||||
* | Fix quantity of blank lines. | stepshal | 2016-10-18 | 2 | -9/+3 |
| | |||||
* | fix for extra names containing '-' | Gabi Davar | 2016-08-23 | 1 | -0/+18 |
| | |||||
* | Fix quantity of blank lines after code object, class of function definition. | stepshal | 2016-08-20 | 3 | -1/+12 |
| |