aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Bump to pyparsing 2.2.1 and re-run paver update_vendored. Fixes #1480.Jason R. Coombs2018-09-232-13/+35
|
* Revert "Make safe_name compliant to PEP 503 and behaviour of pip > 8.1.2"Jason R. Coombs2018-09-161-2/+2
|
* Merge pull request #1402 from ↵Jason R. Coombs2018-09-161-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 #1321Alexander Duryagin2018-06-271-5/+6
| |
* | Merge pull request #1324 from torsava/safe_nameJason R. Coombs2018-09-161-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.2Tomas Orsava2018-04-121-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. Coombs2018-09-141-1/+6
| | |
* | | Rely on rpartition.Jason R. Coombs2018-09-141-4/+4
| | |
* | | Assign on separate linesJason R. Coombs2018-09-141-1/+2
| | |
* | | 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
|