Skip to content

change default to Python 3#108

Merged
stevengj merged 1 commit intomasterfrom
python3
Jul 20, 2018
Merged

change default to Python 3#108
stevengj merged 1 commit intomasterfrom
python3

Conversation

@stevengj
Copy link
Copy Markdown
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
Copy Markdown
Member Author

@nalimilan, @JobJob, any thoughts on this?

@JobJob
Copy link
Copy Markdown

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
Copy Markdown
Member Author

Done.

@Balinus
Copy link
Copy Markdown
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
Copy Markdown
Member Author

It’s explained in the Conda README.

@Balinus
Copy link
Copy Markdown
Contributor

Balinus commented Oct 12, 2018

Oh!! Sorry about that. Thanks! 👍

@tkf
Copy link
Copy Markdown
Member

tkf commented Oct 12, 2018

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

@oxinabox
Copy link
Copy Markdown
Contributor

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

I found that not to work great.

@tkf
Copy link
Copy Markdown
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