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

installing latest version of a project #58484

Closed
janjaapdriessen mannequin opened this issue Mar 12, 2012 · 2 comments
Closed

installing latest version of a project #58484

janjaapdriessen mannequin opened this issue Mar 12, 2012 · 2 comments
Assignees

Comments

@janjaapdriessen
Copy link
Mannequin

janjaapdriessen mannequin commented Mar 12, 2012

BPO 14276
Nosy @tarekziade, @merwok

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/merwok'
closed_at = <Date 2014-03-13.02:30:03.503>
created_at = <Date 2012-03-12.23:22:49.587>
labels = []
title = 'installing latest version of a project'
updated_at = <Date 2014-03-13.02:30:03.503>
user = 'https://bugs.python.org/janjaapdriessen'

bugs.python.org fields:

activity = <Date 2014-03-13.02:30:03.503>
actor = 'eric.araujo'
assignee = 'eric.araujo'
closed = True
closed_date = <Date 2014-03-13.02:30:03.503>
closer = 'eric.araujo'
components = ['Distutils2']
creation = <Date 2012-03-12.23:22:49.587>
creator = 'janjaapdriessen'
dependencies = []
files = []
hgrepos = []
issue_num = 14276
keywords = []
message_count = 2.0
messages = ['155517', '155522']
nosy_count = 5.0
nosy_names = ['tarek', 'eric.araujo', 'alexis', 'tshepang', 'janjaapdriessen']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue14276'
versions = ['3rd party', 'Python 3.3']

@janjaapdriessen
Copy link
Mannequin Author

janjaapdriessen mannequin commented Mar 12, 2012

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?

@janjaapdriessen janjaapdriessen mannequin assigned merwok Mar 12, 2012
@merwok
Copy link
Member

merwok commented Mar 12, 2012

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.

@merwok merwok changed the title install latest version of a package installing latest version of a project Mar 12, 2012
@merwok merwok closed this as completed Mar 13, 2014
@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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant