summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1521 from uranusjr/normalize-path-normpathPaul Ganssle2018-11-102-1/+54
|\ | | | | Call os.path.normpath to normalize paths for comp
| * Test normalize_path on various inputsTzu-ping Chung2018-10-291-4/+52
| |
| * Merge branch 'master' into normalize-path-normpathJason R. Coombs2018-10-251-1/+12
| |\
| * | Call os.path.normpath to normalize paths for compTzu-ping Chung2018-10-252-1/+6
| | |
* | | Add unit tests for PkgResourcesDeprecationWarningrobinjhuang2018-10-281-1/+10
| | |
* | | Add custom deprecation warning classesJunhan Huang2018-10-281-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-1Jason R. Coombs2018-10-251-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. Coombs2018-10-251-9/+12
| | | | | | | | excluded from coverage.
| * Adds call to os.path.abspath() in pkg_resources.normalize_path() on CygwinMichael Wild2018-04-221-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. 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
|