summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
...
* Add in a test that checks comparsion of Requirement with markersSteve Kowalik2016-03-081-0/+22
|
* Add in safe_name for project_name, which disappeared in my refactor.Steve Kowalik2016-03-071-1/+2
|
* Change pkg_resources.Requirement to be a subclass of packagingSteve Kowalik2016-03-072-15/+8
|
* Shift requirement parsing inside RequirementSteve Kowalik2016-03-012-36/+31
|
* Bump vendored packaging to 16.5. Fixes #502.Jason R. Coombs2016-02-274-8/+8
|
* Re-run vendoring on packaging 16.4 (adding utils.py module, apparently omitted).Jason R. Coombs2016-02-271-0/+14
|
* Add test capturing expectation that spaces between version specifiers should ↵Jason R. Coombs2016-02-251-0/+4
| | | | be allowed. Ref #502.
* Update to packaging 16.4. Fixes #499.Steve Kowalik2016-02-234-6/+8
|
* Add test capturing previously allowed usage. Ref #499.Jason R. Coombs2016-02-191-0/+3
|
* Fix typo, correcting failures on late Pythons when mock is not already ↵Jason R. Coombs2016-02-191-1/+1
| | | | installed.
* Correct tests under both Python 2 and 3.Steve Kowalik2016-02-192-4/+4
|
* Merge from master, resolving conflicts.Steve Kowalik2016-02-163-63/+146
|\
| * Fix failing tests on Python 220.0Jason R. Coombs2016-02-071-0/+2
| |
| * Fix syntax errors on Python 2Jason R. Coombs2016-02-071-1/+2
| |
| * Remove unused importsJason R. Coombs2016-02-031-2/+0
| |
| * Extract ns_str as class attributeJason R. Coombs2016-02-031-5/+5
| |
| * Use consistent numbering for clarity.Jason R. Coombs2016-02-031-3/+3
| |
| * Use py.path objects for cleaner setupJason R. Coombs2016-02-031-15/+15
| |
| * Extract variable for readabilityJason R. Coombs2016-02-031-3/+5
| |
| * Use py.path objects for cleaner setupJason R. Coombs2016-02-031-16/+12
| |
| * Rewrite setup/teardown methods as pytest fixtures, encapsulating concepts ↵Jason R. Coombs2016-02-031-42/+52
| | | | | | | | for clarity. Incidentally, this also fixes #231.
| * Use new style string formattingJason R. Coombs2016-01-311-3/+3
| |
| * Extract variable for template stringJason R. Coombs2016-01-311-11/+12
| |
| * Normalize all paths, not excluding ''. Fixes #491.Jason R. Coombs2016-01-311-1/+1
| |
| * Rename inner function and add docstringJason R. Coombs2016-01-311-3/+6
| |
| * Extract function _rebuild_mod_pathJason R. Coombs2016-01-311-10/+16
| |
| * Adapt resolution of classes from importlib.machinery. Restores compatibility ↵Jason R. Coombs2016-01-261-6/+5
| | | | | | | | for PyPy3 where importlib.machinery exists but FileFinder and SourceFileLoader aren't implemented.
| * Pull up DefaultProvider registration into a classmethod.Jason R. Coombs2016-01-261-3/+7
| |
| * Combine redundant imports of future functionalityJason R. Coombs2016-01-261-4/+1
| |
| * Invoke import on importlib.machinery directly. Access an attribute to force ↵Jason R. Coombs2016-01-231-3/+4
| | | | | | | | import in delayed-import environments. Fixes #487.
| * Merged in embray/setuptools (pull request #167)Jason R. Coombs2016-01-162-13/+72
| |\ | | | | | | | | | Possible fix for #207
| | * Sort __path__ entries for namespace packages according to their orderErik Bray2016-01-062-11/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in sys.path. This ensures that lookups in __path__ will be the same as sys.path resolution. This also adds a replace argument to Distribution.insert_on meant to be used with the replace argumen to WorkingSet.add. This ensures that new sys.path entries added via WorkingSet.add are inserted at the beginning, rather than appended to the end. This is necessary for consistency with the above change, and kind of makes more sense anyways. This means that if a Distribution is added to a WorkingSet, that replaces a different version of that Distribution, the new version of that Distribution will have its location first on sys.path.
| | * Fixes the original root cause of #231, and re-enables the test when the ↵Erik Bray2015-12-312-8/+27
| | | | | | | | | | | | tempdir is a symlink (this does not explicitly test that /tmp itself is a symlink, but the effect is the same--only one of the path levels needs to be a symlink to reproduce this isssue)
| * | Always use Python 3 version of mapJason R. Coombs2016-01-163-2/+6
| |/
* | Correct tests after the move to packaging 16.1.Steve Kowalik2016-02-093-17/+17
| |
* | Update to packaging 16.1Steve Kowalik2016-02-085-24/+50
| |
* | Switch back to SyntaxError for invalid markers, stops consumers having to ↵Steve Kowalik2016-02-081-3/+6
| | | | | | | | import packaging themselves
* | Shift packaging to use shiny extern.Steve Kowalik2016-01-073-8/+8
| |
* | Properly merge from default.Steve Kowalik2016-01-071-33/+14
| |
* | Merge from default.Steve Kowalik2016-01-073-6/+943
|\ \ | |/
| * Use six in pkg_resources.Jason R. Coombs2016-01-042-25/+11
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Move six to pkg_resources for use there.Jason R. Coombs2016-01-043-1/+870
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Extract variable for extant name. Add comment about the hack.Jason R. Coombs2016-01-021-3/+9
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Add some docstringsJason R. Coombs2016-01-021-0/+13
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Based on experimentation, the canonical module name needs to be in ↵Jason R. Coombs2016-01-021-1/+4
| | | | | | | | | | | | | | sys.modules on Python prior to 3.3, but must be omitted on Python 3.3 and later. --HG-- branch : feature/issue-229
| * Combine separate VendorImporters into a single one in pkg_resources.externJason R. Coombs2016-01-022-1/+1
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Pop the module off the stack, preventing the 'Version' class from having a ↵Jason R. Coombs2016-01-021-2/+1
| | | | | | | | | | | | | | different manifestation in packaging than in pkg_resources. --HG-- branch : feature/issue-229
| * Make VendorImporter more genericJason R. Coombs2016-01-021-13/+20
| | | | | | | | | | --HG-- branch : feature/issue-229
| * Create a PEP 302 importer for managing conditional import of vendored ↵Jason R. Coombs2016-01-022-45/+42
| | | | | | | | | | | | | | packages from the 'extern' namespace. This technique avoids the use of 'imp' and works even when setuptools is installed as a zipped egg. Ref #229. --HG-- branch : feature/issue-229
| * Move extern.packaging into a package to enable package-relative imports to ↵Jason R. Coombs2016-01-011-0/+0
| | | | | | | | | | | | | | resolve propertly. Ref #229. --HG-- branch : feature/issue-229