This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: register command forgets password if no config file is created
Type: behavior Stage: resolved
Components: Distutils Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: eric.araujo, steve.dower, tarek, techtonik
Priority: normal Keywords: patch

Created on 2012-11-13 18:02 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_register.py.2.diff techtonik, 2012-11-13 18:02
register.py.2.diff techtonik, 2012-11-13 18:05
Messages (4)
msg175512 - (view) Author: anatoly techtonik (techtonik) Date: 2012-11-13 18:02
Given:

1. there is no .pypirc
2. users enters credentials to register command
3. user refuses to create .pypirc

Outcome:

password is not being stored and subsequent (upload) command doesn't get it.

Attached is the test case.
msg175513 - (view) Author: anatoly techtonik (techtonik) Date: 2012-11-13 18:05
Fix is attached.
msg175518 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-11-13 18:52
Thanks.  I remember previous discussion about this (mailing list or bug), I’ll look for it before applying.
msg386439 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:37
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2022-04-11 14:57:38adminsetgithub: 60670
2021-02-03 18:37:35steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386439

resolution: out of date
stage: patch review -> resolved
2012-11-13 18:52:00eric.araujosettype: behavior
stage: patch review
messages: + msg175518
versions: + Python 3.2, Python 3.3, Python 3.4
2012-11-13 18:05:15techtoniksetfiles: + register.py.2.diff

messages: + msg175513
2012-11-13 18:02:39techtonikcreate