aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1451 from hugovk/upgrade-appdirsPaul Ganssle2018-08-172-17/+73
|\ | | | | Upgrade vendored appdirs from 1.4.0 to 1.4.3
| * Upgrade vendored appdirs from 1.4.0 to 1.4.3Hugo2018-08-172-17/+73
| |
* | Merge pull request #1450 from hugovk/upgrade-pyparsingPaul Ganssle2018-08-171-15/+39
|\ \ | |/ |/| Upgrade vendored PyParsing from 2.1.10 to 2.2.0
| * Upgrade vendored pyparsing from 2.1.10 to 2.2.0Hugo2018-08-091-15/+39
| |
* | Rewrite loop as single generator expression.Jason R. Coombs2018-08-111-7/+6
|/
* Merge pull request #1418 from pganssle/egg_race_conditionPaul Ganssle2018-07-202-2/+41
|\ | | | | Egg race condition
| * Fix race condition in _bypass_ensure_directoryPaul Ganssle2018-07-121-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 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.
* | Switch over to using six.PY{2,3} when possiblePaul Ganssle2018-07-101-1/+3
|/
* Avoid removing packages imported from the root. Fixes #1383.Jason R. Coombs2018-07-091-1/+1
|
* Revert 7392f01f for pkg_resources/extern. 3.3 is the right signal there.Jason R. Coombs2018-07-091-1/+1
|
* 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-033-8/+15
|
* Drop support for EOL Python 3.3Hugo2018-05-244-9/+8
|
* Merge pull request #1364 from seawolf42/feature/issue-1330Jason R. Coombs2018-05-182-0/+42
|\ | | | | Feature/issue 1330
| * python 2.7 does not implement object.__dir__()jeffrey k eliasen2018-05-152-0/+15
| |
| * implementationjeffrey k eliasen2018-05-151-0/+9
| |
| * testsjeffrey k eliasen2018-05-151-0/+18
| |
* | Remove compatibility branch for Python 3.0-3.1.Jason R. Coombs2018-05-151-5/+1
|/
* Honor SourcelessFileLoader in DefaultProvider. Fixes #1337.Jason R. Coombs2018-04-251-1/+1
|
* Refactor to support multiple loader names. Ref #1337.Jason R. Coombs2018-04-251-6/+4
|
* Extract common functionality into reusable functionsJason R. Coombs2018-03-172-7/+7
|
* Setuptools now vendors its own direct dependencies (packaging, six, ↵Jason R. Coombs2018-03-172-7/+7
| | | | pyparsing). Ref #1296.
* Remove SetuptoolsVersion and SetuptoolsLegacyVersion. Ref #296.Jason R. Coombs2018-03-171-109/+2
|
* Extract version comparisons as pytest parameters.Jason R. Coombs2018-03-171-84/+51
|
* Feed the hobgoblins (delint).Jason R. Coombs2018-03-065-18/+42
|
* Prevent StopIteration from bubbling up in parse_requirements. Fixes #1285.Jason R. Coombs2018-03-051-1/+4
|
* Perform marker calculation in one stepJason R. Coombs2018-02-101-6/+6
|
* Use partitionJason R. Coombs2018-02-101-2/+2
|
* Use filterJason R. Coombs2018-02-101-14/+13
|
* Extract method for filtering extrasJason R. Coombs2018-02-101-10/+24
|
* Remove redundant initializationJason R. Coombs2018-02-101-1/+1
|
* Extract method for _build_dep_mapJason R. Coombs2018-02-101-14/+18
|
* Add a commentJason R. Coombs2018-02-101-0/+4
|
* DelintJason R. Coombs2018-02-101-7/+31
|
* Slightly simplify code via rstrip()Doug Greiman2017-12-221-2/+1
|
* Fix trailing slash handling in pkg_resources.ZipProviderDoug Greiman2017-12-111-0/+4
| | | | | | | | | | | | Given a ZipProvider, if the underlying ZipImporter prefix is empty, then resource_listdir('') and resource_listdir('subdir/') fail, while resource_listdir('/') and resource_listdir('subdir') succeed. On the other hand, if the underlying ZipImport prefix is not empty, then resource_listdir('/') fails but resource_listdir('') succeeds. With this change, the cases listed succeed with or without trailing slashes.
* Add testcase for pkg_resources.ZipProvider.resource_listdirDoug Greiman2017-12-111-0/+35
|
* Shorten message and update changelog. Ref #1209.Jason R. Coombs2017-11-251-2/+3
|
* Improved exception message of pkg_resources.ResolutionErrorAndreas Maier2017-11-221-1/+3
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-11-192-75/+165
|\
| * Remove unnecessary serialization/parsing of extras in EntryPoint.__init__. ↵Jason R. Coombs2017-10-121-3/+1
| | | | | | | | Fixes #1132.
| * Use simpler Requirement from packaging.requirementsJason R. Coombs2017-10-121-1/+3
| |
| * Feed the hobgoblins (delint).Jason R. Coombs2017-10-121-25/+47
| |
| * Clean up resource warnings during testsJon Dufresne2017-09-162-3/+7
| | | | | | | | | | | | | | | | | | | | 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.
| * Screen entries before sorting in find_on_path. Ref #1134.Jason R. Coombs2017-09-091-1/+13
| |
| * Extract function for resolving the dist factory for a path item entryJason R. Coombs2017-09-091-12/+16
| |
| * Create a NoDists factory for returning no dists, whose boolean value is False.Jason R. Coombs2017-09-091-1/+18
| |
| * Extract function for listdirJason R. Coombs2017-09-091-15/+23
| |