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

When release new varsion of Python, user have to update Pythonbrew. #2

Open
ysakasin opened this issue Sep 5, 2014 · 7 comments
Open
Assignees

Comments

@ysakasin
Copy link

ysakasin commented Sep 5, 2014

Current Pythonbrew load list of URL that is used downloading Python from local file.
We have to update it when new varsion of Python is distributed.
Pythonbrew users also must update Pythonbrew if install newer Python.

@Kentoseth
Copy link
Member

Can you provide more info about this?

Are we trying to:

Update the available pythons to the latest versions (like 2.7.8 and 3.5)?

Pythonbrew users also must update Pythonbrew if install newer Python.

Can you explain what you mean in the sentence above?

@ysakasin
Copy link
Author

ysakasin commented Sep 6, 2014

For example, rvm (Ruby Version Manager) refer to the list of available rubys on the internet.
But now pythonbrew refer to the list of avilable pythons in the local file.

I want to change pythonbrew to like rvm (about system to find avilable version).
Current pythonbrew can update avilable list when use update command, but it is convenient that pythonbrew updated list automatically or refer list on the internet when install python.

What do you think?

@ysakasin
Copy link
Author

ysakasin commented Sep 6, 2014

Also it is easy to use that can install Python versions that are not listed.
I think this idia is feasible because python download URLs are very regular URLs.

@Kentoseth
Copy link
Member

I want to change pythonbrew to like rvm (about system to find avilable version).
Current pythonbrew can update avilable list when use update command, but it is convenient that pythonbrew updated list automatically or refer list on the internet when install python.

I like this idea. Can you show me where this "update" command is? I didn't know pythonbrew had it.

This will definitely be a useful feature, where pythonbrew checks for all the versions of python available on the internet dynamically, instead of checking a static file locally.

@ysakasin
Copy link
Author

ysakasin commented Sep 9, 2014

Pythonbrew update config if you execute pythonbrew update --config.
See /pythonbrew/pythonbrew/commands/update.py line 25 and 46.

@ysakasin
Copy link
Author

ysakasin commented Sep 9, 2014

Thank you for agree. Pythonbrew will be very useful if get checking system!!
Could you assign me coding?

@Kentoseth
Copy link
Member

Could you assign me coding?

Done.

Please test the code locally before making a commit.

I won't update the latest python versions (2.7.7 and 2.7.8 and also the latest py3 versions). I want to see if your dynamic update script picks up the newest versions without hard-coding them into the files.

ysakasin pushed a commit that referenced this issue Sep 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants