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

change default to Python 3 #108

Merged
merged 1 commit into from
Jul 20, 2018
Merged

change default to Python 3 #108

merged 1 commit into from
Jul 20, 2018

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Jul 6, 2018

The Python ecosystem finally seems to be moving decisively towards Python 3, so I think it makes sense to make Python 3 the default for new Conda.jl installations.

@stevengj
Copy link
Member Author

@nalimilan, @JobJob, any thoughts on this?

@JobJob
Copy link

JobJob commented Jul 16, 2018

Good idea.

After resisting Python 3 for the better part of a decade, I switched last year. Haven't had any real issues. Seems like the vast majority of packages support Python 3 nowadays.

@stevengj stevengj merged commit bbbf11b into master Jul 20, 2018
@stevengj stevengj deleted the python3 branch July 20, 2018 15:03
@stevengj
Copy link
Member Author

Done.

@Balinus
Copy link
Contributor

Balinus commented Oct 12, 2018

Just wondering, is there any way to tell Conda to use python2 ?

ClimateTools.jl uses Basemap as a dependency and there is a lot of problem installing Basemap on Python 3 > 3.6.

Still haven't found a TravisCI set-up that would solve Basemap problem's with Python 3.7!

Basemap works with Python 3.4 btw.

edit - Alternatively, I'm able to create a conda virtual env on my local machine and use that. Would that be possible to do on TravisCI as far as you know? I mean creating a virtual env that would specify python 3.4 etc... ?

@stevengj
Copy link
Member Author

It’s explained in the Conda README.

@Balinus
Copy link
Contributor

Balinus commented Oct 12, 2018

Oh!! Sorry about that. Thanks! 👍

@tkf
Copy link
Member

tkf commented Oct 12, 2018

Conda.add("python=3.6"); Pkg.build("PyCall") may work, too.

@oxinabox
Copy link
Contributor

Conda.add("python=3.6"); Pkg.build("PyCall") may work, too.

I found that not to work great.

@tkf
Copy link
Member

tkf commented Nov 12, 2018

It works on all CIs #129 so it probably is specific to your setting.

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

Successfully merging this pull request may close these issues.

5 participants