summaryrefslogtreecommitdiff
path: root/setuptools/monkey.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-3/+1
|
* Fixed typoAndrew Murray2020-08-011-1/+1
|
* Start patching DistributionMetadata.read_pkg_filePaul Ganssle2018-11-071-6/+6
| | | | | | | | | This turns get_metadata_version into a method on DistributionMetadata, populated either by inferrence (in the case of package metadata specified in `setup`) or from the data in a specified PKG-INFO file. To populate metadata_version from PKG-INFO, we need to monkey patch read_pkg_file in addition to write_pkg_file.
* Drop support for EOL Python 3.3Hugo2018-05-241-2/+0
|
* Stop patching write_pkg_infoPaul Ganssle2018-03-181-16/+0
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-09-031-13/+24
|\
| * Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-1/+15
| |\
| | * Make _get_mro private; Swap logic to put preferred behavior at top level; ↵Jason R. Coombs2017-04-271-7/+8
| | | | | | | | | | | | Update docstring to reference issue.
| | * Use a different method to lookup base classes on JythonNick Douma2017-04-271-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jython seems to implement inspect.getmro differently, which causes any classes with the same name as a class lower in the MRO not to be returned. This patch offloads the MRO lookup to a separate function, which implements different logic for Jython only. Ref #1024
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| |/ | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
| * Remove incorrect open bound on 3.6 or later for warehouse patch.Jason R. Coombs2017-02-231-2/+0
| |
| * Update version match for issue12885. Ref #971.Jason R. Coombs2017-02-231-7/+1
| |
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
| |
| * Traverse the class hierarchy when searching for the unpatched class. Ref #889.Jason R. Coombs2016-12-241-4/+9
| |
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-1/+1
|/ | | | leaner, cleaner codebase. Fixes #878.
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Patch MSVC functions by name. Fixes #790.Jason R. Coombs2016-09-271-26/+38
|
* Account for the class might be old style on Python 2.Jason R. Coombs2016-09-091-1/+2
|
* Extract a variable for nicer indentation.Jason R. Coombs2016-09-091-3/+2
|
* Allow get_unpatched to be called to get unpatched version of a class or ↵Jason R. Coombs2016-09-091-2/+12
| | | | function, further harmonizing the interfaces.
* Use programmatic import and add comment explaining purpose.Jason R. Coombs2016-09-091-1/+2
|
* Consolidate function patching and resolution of unpatched function, aligning ↵Jason R. Coombs2016-09-091-13/+20
| | | | pattern with the patched classes.
* Move msvc import to avoid a circular importDonald Stufft2016-09-091-1/+2
|
* Fix msvc monkeypatching, revealed by Appveyor tests. Fixes #778.Jason R. Coombs2016-09-091-4/+5
|
* Add Deprecation warning for _get_unpatched.Jason R. Coombs2016-09-091-1/+4
|
* Use unpatched locallyJason R. Coombs2016-09-041-2/+0
|
* Move msvc patch logic into monkey module.Jason R. Coombs2016-09-041-3/+56
|
* Move (much of?) the rest of the monkey patching into the monkey moduleJason R. Coombs2016-09-041-0/+41
|
* Remove private prefix from monkey as monkey module explicitly declares that ↵Jason R. Coombs2016-09-041-1/+1
| | | | all functions are private.
* Move monkeypatching in package module into monkey.Jason R. Coombs2016-09-041-0/+38
|
* Introduce a new monkey module to encapsulate the monkeypatching.Jason R. Coombs2016-09-041-0/+22