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.
Created on 2012年03月12日 23:22 by janjaapdriessen, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg155517 - (view) | Author: Jan-Jaap Driessen (janjaapdriessen) | Date: 2012年03月12日 23:22 | |
I would like to install the latest version of a package. The pysetup command does not give me easy access to do this. Can we add an 'upgrade' method? |
|||
| msg155522 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年03月12日 23:30 | |
When you install a project for the first time and you don’t specify a version number, i.e. pysetup install spam, the latest version (or the latest final version (non-alpha/beta/rc), Alexis knows better) should be installed. This could be added to the docs. If you later run "pysetup install "spam (X.Y)"" where X.Y is a higher version than what’s installed, then the project should be upgraded, unless it breaks other project’s dependencies (i.e. ham depends on spam < X.Y). There aren’t probably any tests for this. If you have a version of spam installed and want to upgrade to the latest version that still satisfies other installed projects’ dependencies, without having to give a version number, (your request IIUC), then you could use a trick like "pysetup install "spam (< 99.99)"" (untested). However, I agree that "pysetup install --upgrade spam" is a better UI: it’s less kludgy and already familiar to pip and easy_install users. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:27 | admin | set | github: 58484 |
| 2014年03月13日 02:30:03 | eric.araujo | set | status: open -> closed resolution: out of date stage: needs patch -> resolved |
| 2012年03月17日 11:00:08 | tshepang | set | nosy:
+ tshepang |
| 2012年03月12日 23:30:13 | eric.araujo | set | title: install latest version of a package -> installing latest version of a project stage: needs patch messages: + msg155522 versions: + 3rd party, - Python 2.6, Python 2.7 |
| 2012年03月12日 23:22:49 | janjaapdriessen | create | |