Code Monkey home page Code Monkey logo

Comments (16)

kmpaul avatar kmpaul commented on July 18, 2024

Default installs of python on even the newest Macs are python 2.7.

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

I like the idea of portability. Most systems have some version of python installed, but we need to make this script support python 2 and 3.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

Default installs of python on even the newest Macs are python 2.7.

It's such a shame @ Apple 😀

I was aware of this fact, but I still chose to take a shortcut by making the script Python 3 compatible only :)

Most systems have some version of python installed, but we need to make this script support python 2 and 3.

I concur

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

Also, Macs don't ship with wget (only curl) which is used (by default) to download the Miniconda installer

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

We also need to update the CircleCI scripts to not use a base python3 container. Rather, to use a base container that represents the default environment of someone who hasn't installed anything.

And we should create build jobs for linux (SUSE linux to mimic Cheyenne) and Mac and Windows.

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

BTW, I'm working on an update for Mac OS. I'll submit a PR shortly.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

And we should create build jobs for linux (SUSE linux to mimic Cheyenne) and Mac and Windows.

I am afraid we won't be able to test it on Mac and Windows via CircleCI. Per CircleCI documentation, you need to have a subscription to a paid plan: https://circleci.com/docs/2.0/hello-world-macos/#prerequisites

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

Ah. I was afraid of that.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

And we should create build jobs for linux (SUSE linux to mimic Cheyenne)

Since conda is OS-agnostic, and all we need is wget or curl, and python from the system, do we need to do this?

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

Are there any functionalities that are SUSE linux specific that we should be testing against?

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

...Well, conda is supposed to be OS-agnostic. Can we trust that it actually is?

As for SLES specific functionality, I don't know. Maybe not, and we can test with the same linux docker image but with different login shells.

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

We could move to Travis which now supports both MacOS and Windows.

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

Can we trust that it actually is?

Yes, we can :)

same linux docker image but with different login shells.

Testing against different login shells (bash, tcsh) seems crucial.

Regarding Windows support, looking back at our last hackathon in June, I didn't see any single windows user. Should we focus on getting this to work on windows at the moment?

from ncar-python-tutorial.

andersy005 avatar andersy005 commented on July 18, 2024

Supporting windows would be worth the effort if there's an actual demand IMHO :)

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

We had Windows users at the ACOM Python tutorial, but I haven't seen any since.

from ncar-python-tutorial.

kmpaul avatar kmpaul commented on July 18, 2024

And, frankly, the word could be spreading from early Windows users that if you have a Windows machine, it's not worth it. I'd like to make sure that isn't an issue.

from ncar-python-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.