Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
22715bcc
Commit
22715bcc
authored
Dec 28, 2014
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable purging of distutils/setuptools during sandbox operations. Ref #315.
parent
ee14a898
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
CHANGES.txt
CHANGES.txt
+0
-4
setuptools/sandbox.py
setuptools/sandbox.py
+3
-1
No files found.
CHANGES.txt
View file @
22715bcc
...
...
@@ -8,10 +8,6 @@ CHANGES
* Issue #314: Disabled support for ``setup_requires`` metadata to avoid issue
where Setuptools was unable to upgrade over earlier versions.
* Issue #315: Updated setuptools to hide its own loaded modules during
installation of another package. This change will enable setuptools to
upgrade (or downgrade) itself even when its own metadata and implementation
change.
---
8.4
...
...
setuptools/sandbox.py
View file @
22715bcc
...
...
@@ -126,7 +126,9 @@ def setup_context(setup_dir):
temp_dir
=
os
.
path
.
join
(
setup_dir
,
'temp'
)
with
save_pkg_resources_state
():
with
save_modules
():
hide_setuptools
()
# Disabled per
# https://bitbucket.org/pypa/setuptools/issue/315/setuptools-should-always-use-its-own#comment-14512075
# hide_setuptools()
with
save_path
():
with
save_argv
():
with
override_temp
(
temp_dir
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment