Issue 8501: setup.py install --dry-run option doesn't work (original) (raw)

Created on 2010-04-22 21:35 by j1m, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg103979 - (view) Author: Jim Fulton (j1m) * (Python committer) Date: 2010-04-22 21:35
The --dry-run option is ignored by the install command. It leads to an error when used as a global option. It should be fixed or removed. I vote for removal, but don't really care. Removal seems easier. :) To reproduce, create the simple project: http://docs.python.org/distutils/introduction.html#a-simple-example and then try the option. See also: http://mail.python.org/pipermail/distutils-sig/2010-April/016000.html
msg106743 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-05-29 21:34
Tarek, do we change the component to Distutils2? If so, I’m willing to give this a try.
msg114943 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-08-25 22:55
Wow. I’m amazed to see that the majority of commands don’t even bother with dry-run. I’m changing the component to distutils2: This is between bug fix and new feature, your report is the first one, and it’s easier to hack on distutils2. When this is fixed, I’ll ask Tarek if we should backport it to distutils (probably not). I’m adding the easy keyword to indicate that writing tests for the --dry-run behavior could be done by a beginner during a sprint or bug day.
msg213455 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-13 20:09
Narrowing the scope of this issue to only cover the original request.
msg386419 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:29
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:00 admin set github: 52747
2021-02-03 18:29:19 steve.dower set status: open -> closednosy: + steve.dowermessages: + resolution: out of datestage: test needed -> resolved
2014-03-13 20:09:20 eric.araujo set versions: + Python 3.5, - 3rd partytitle: --dry-run option doesn't work -> setup.py install --dry-run option doesn't workmessages: + components: + Distutils, - Distutils2resolution: accepted -> (no value)
2011-06-30 17:06:03 thomas.holmes set nosy: + thomas.holmes
2011-06-09 22:31:06 michael.mulich set nosy: + michael.mulich
2010-09-30 00:05:27 eric.araujo set versions: + 3rd party, - Python 2.6, Python 2.5, Python 3.1, Python 2.7, Python 3.2
2010-08-25 22:59:56 eric.araujo set dependencies: + distutils dry-run breaks when attempting to bytecompile
2010-08-25 22:57:03 eric.araujo set dependencies: - distutils argument parsing is bogus
2010-08-25 22:55:46 eric.araujo set assignee: tarek -> eric.araujodependencies: + distutils argument parsing is boguscomponents: + Distutils2, - Distutilsversions: + Python 2.5, - Python 3.3keywords: + easynosy:tarek, eric.araujo, j1mmessages: + stage: test needed
2010-05-29 21:34:12 eric.araujo set nosy: + eric.araujomessages: +
2010-04-22 21:37:01 tarek set priority: normalresolution: acceptedversions: + Python 3.1, Python 2.7, Python 3.2, Python 3.3, - Python 2.5
2010-04-22 21:35:43 j1m create