Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distutils upload command doesn't work with http proxy #50535

Closed
tarekziade mannequin opened this issue Jun 15, 2009 · 5 comments
Closed

distutils upload command doesn't work with http proxy #50535

tarekziade mannequin opened this issue Jun 15, 2009 · 5 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@tarekziade
Copy link
Mannequin

tarekziade mannequin commented Jun 15, 2009

BPO 6286
Nosy @jaraco, @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/jaraco'
closed_at = <Date 2013-11-11.00:01:08.778>
created_at = <Date 2009-06-15.09:54:20.917>
labels = ['type-feature', 'library']
title = "distutils upload command doesn't work with http proxy"
updated_at = <Date 2013-11-11.00:01:08.777>
user = 'https://github.com/tarekziade'

bugs.python.org fields:

activity = <Date 2013-11-11.00:01:08.777>
actor = 'jaraco'
assignee = 'jaraco'
closed = True
closed_date = <Date 2013-11-11.00:01:08.778>
closer = 'jaraco'
components = ['Distutils']
creation = <Date 2009-06-15.09:54:20.917>
creator = 'tarek'
dependencies = []
files = []
hgrepos = []
issue_num = 6286
keywords = []
message_count = 5.0
messages = ['89398', '89419', '89793', '202582', '202589']
nosy_count = 3.0
nosy_names = ['jaraco', 'tarek', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue6286'
versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

@tarekziade
Copy link
Mannequin Author

tarekziade mannequin commented Jun 15, 2009

upload is base on httplib and doesn't use the http_proxy envrionment
variable. So it's impossible to upload a file behind a firewall.

Let's change the command so it uses a proxy if set

@tarekziade tarekziade mannequin self-assigned this Jun 15, 2009
@tarekziade tarekziade mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jun 15, 2009
@tarekziade
Copy link
Mannequin Author

tarekziade mannequin commented Jun 15, 2009

done in r73436. Will merge it into 3.2 after 3.1 is tagged.

I am leaving this issue open until the merge in 3.2 is done.

@tarekziade
Copy link
Mannequin Author

tarekziade mannequin commented Jun 28, 2009

merged in 3.2 in r73645

@tarekziade tarekziade mannequin closed this as completed Jun 28, 2009
@jaraco
Copy link
Member

jaraco commented Nov 10, 2013

This change didn't make it into Python 3.2 but is in 2.7. see bpo-19544 for details.

@jaraco jaraco reopened this Nov 10, 2013
@jaraco jaraco assigned jaraco and unassigned tarekziade Nov 10, 2013
@python-dev
Copy link
Mannequin

python-dev mannequin commented Nov 11, 2013

New changeset 5e98c4e9c909 by Jason R. Coombs in branch '3.3':
Issue bpo-19544 and Issue bpo-6286: Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2.
http://hg.python.org/cpython/rev/5e98c4e9c909

New changeset b1244046f37a by Jason R. Coombs in branch 'default':
Merge with 3.3 for Issue bpo-19544 and Issue bpo-6286. Merge is untested. I was unable to test due to bab0cbf86835.
http://hg.python.org/cpython/rev/b1244046f37a

@jaraco jaraco closed this as completed Nov 11, 2013
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant