summaryrefslogtreecommitdiff
path: root/pkg_resources/tests
Commit message (Collapse)AuthorAgeFilesLines
* test: drop pkg_resources tests dependency on easy_installBenoit Pierre2019-11-139-45/+39
|
* Merge pull request #1814 from benoit-pierre/fix_requirement_hash/equalityJason R. Coombs2019-10-271-0/+17
|\ | | | | pkg_resources: fix ``Requirement`` hash/equality implementation
| * pkg_resources: fix ``Requirement`` hash/equality implementationBenoit Pierre2019-08-131-0/+17
| | | | | | | | Take PEP 508 direct URL into account.
* | Fixes for python3.10Anthony Sottile2019-08-171-1/+1
|/
* Fix #1790 : Include the file path in get_metadata() UnicodeDecodeErrors (#1791)Chris Jerdonek2019-07-131-0/+54
| | | | Include the file path in get_metadata() UnicodeDecodeErrors.
* tests: fix `test_distribution_version_missing` to work with pytest>=5.0Benoit Pierre2019-06-301-1/+1
|
* Include file path when Version: missingChris Jerdonek2019-04-031-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 #1635Jason R. Coombs2019-01-201-2/+0
|
* Merge pull request #1521 from uranusjr/normalize-path-normpathPaul Ganssle2018-11-101-0/+53
|\ | | | | Call os.path.normpath to normalize paths for comp
| * Test normalize_path on various inputsTzu-ping Chung2018-10-291-4/+52
| |
| * Call os.path.normpath to normalize paths for compTzu-ping Chung2018-10-251-0/+5
| |
* | Add unit tests for PkgResourcesDeprecationWarningrobinjhuang2018-10-281-1/+10
|/
* Add test for cache_path race conditionPaul Ganssle2018-07-121-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 sixJason R. Coombs2018-06-031-7/+3
|
* Use raw strings for regular expressionsJason R. Coombs2018-06-031-2/+2
|
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-032-4/+8
|
* Drop support for EOL Python 3.3Hugo2018-05-241-3/+3
|
* python 2.7 does not implement object.__dir__()jeffrey k eliasen2018-05-151-0/+11
|
* testsjeffrey k eliasen2018-05-151-0/+18
|
* Extract version comparisons as pytest parameters.Jason R. Coombs2018-03-171-84/+51
|
* Feed the hobgoblins (delint).Jason R. Coombs2018-03-064-17/+41
|
* Add testcase for pkg_resources.ZipProvider.resource_listdirDoug Greiman2017-12-111-0/+35
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-11-191-2/+2
|\
| * Clean up resource warnings during testsJon Dufresne2017-09-161-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-py26Jason R. Coombs2017-09-034-5/+545
|\ \ | |/
| * pkg_resources: improve WorkingSet.resolve(replace_conflicting=True)Benoit Pierre2017-08-291-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 eggsLeonardo Rochael Almeida2017-07-311-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_mockBenoit Pierre2017-07-151-1/+1
| |
| * Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-1/+1
| |\
| | * Python 3.6 invalid escape sequence deprecation fixesVille Skyttä2017-02-241-1/+1
| | |
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-242-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. Coombs2017-01-301-4/+1
| | | | | | | | versions. Ref #949.
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-012-3/+3
| |
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-18/+10
|/ | | | leaner, cleaner codebase. Fixes #878.
* Fix quantity of blank lines.stepshal2016-10-182-9/+3
|
* fix for extra names containing '-'Gabi Davar2016-08-231-0/+18
|
* Fix quantity of blank lines after code object, class of function definition.stepshal2016-08-203-1/+12
|
* Add missing whitespace after comma.stepshal2016-08-181-35/+35
|
* Merge pull request #744 from stepshal/comparisonJason R. Coombs2016-08-171-1/+1
|\ | | | | Fix comparison with None.
| * Fix comparison with None.insiv2016-08-171-1/+1
| |
* | Merge pull request #743 from stepshal/block-commentJason R. Coombs2016-08-171-1/+1
|\ \ | | | | | | Fix spacing after comment hash.
| * | Fix spacing after comment hash.insiv2016-08-171-1/+1
| |/
* | Merge pull request #741 from stepshal/operatorsJason R. Coombs2016-08-171-6/+6
|\ \ | | | | | | Add missing whitespace around operators.
| * | Add missing whitespace around operators.insiv2016-08-171-6/+6
| |/
* | Remove whitespace around parameter = sign.insiv2016-08-171-1/+1
|/
* Mark failing tests as xfail until they can be resolved. Ref #591.Jason R. Coombs2016-07-231-0/+5
|
* Always inject extra into the environment when evaluating markers. Fixes #544.Jason R. Coombs2016-04-151-9/+1
|
* Merge pull request #533 from s-t-e-v-e-n-k/compare-ep-attributesJason R. Coombs2016-04-071-1/+4
|\ | | | | Stop comparing repr()'s in TestEntryPoint
| * Stop comparing repr()'s in TestEntryPointSteve Kowalik2016-04-061-1/+4
| | | | | | | | | | | | | | | | | | In Python 3, the default order of iterables can not determined, so comparing the repr of objects that include tuples is not static like it is under Python 2. Compare the attributes of EntryPoint instead, making sure to sort .attrs and .extras. Closes: #526
* | Adjust expectation that 'extra' is not in the marker evaluation if no extras ↵Jason R. Coombs2016-04-071-3/+5
| | | | | | | | demanded the requirement.