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

Python 3.6 Support #204

Merged
merged 27 commits into from
Mar 13, 2019
Merged

Conversation

mikemhenry
Copy link
Member

No description provided.

@mikemhenry
Copy link
Member Author

Okay so I forgot to include an -y but this is a good example on how installing foyer + mbuild even with python3.5, it tires to downgrade to 2.7

@mikemhenry
Copy link
Member Author

mikemhenry commented Feb 21, 2019

Okay so travis is happy now and things don't get downgraded, I'm a bit grumpy that we will need to have 2 CI scripts to maintain and keep in sync, but until if we drop windows I'm sure there is an alternative.

@mattwthompson
Copy link
Member

I'm gonna mention this PR, since we're doing similar things to what we did in mbuild previously (I actually think we intended to do it for both but simply neglected to do it here)

mosdef-hub/mbuild#457

@mikemhenry
Copy link
Member Author

It would be nice to get parity between mbuild and foyer, I think for this I just want to remove the cyclic dependency stuff + not get python downgraded, so then we can do things how its working in mbuild.

@mattwthompson
Copy link
Member

You're exactly right - the problem is that more needs to be done (see all the changes in the linked PR). I will take it upon myself to make those changes, since we need to release mbuild and we can't do so until similar changes have been made here.

@mikemhenry
Copy link
Member Author

Added more python versions to travis so we can see what deps are going to be an issue for python 3.6 and 3.7

.travis.yml Outdated
@@ -24,7 +24,6 @@ install:
- conda config --add channels omnia
- conda config --add channels conda-forge
- conda config --add channels mosdef
- conda config --add channels cmelab
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is all of omnia's work on conda-forge now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so: https://anaconda.org/search?q=openmm

(OpenMM is our only omnia dep, right?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK, yes just openmm, http://docs.openmm.org/latest/userguide/application.html#installing-openmm currently they haven't migrated all over to conda-forge, so you need omnia and conda-forge

@mikemhenry
Copy link
Member Author

Still waiting on OSX & windows tests, but it looks like all passes test for python3.6, also added noarch to the conda recipe

appveyor.yml Outdated

build: false

test_script:
- "%CMD_IN_ENV% activate base"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why you removed this? I don't recall the specifics but I had to add this at one point to un-break something #195

@mattwthompson
Copy link
Member

Since I have the memory of a cinderblock, I'm going to note the things we want to spin off into other small PRs:

  • Parity between travis & Appveyor scripts
  • Figuring out how appveyor's environments are activated
  • Building (but not testing) with noarch

@mikemhenry
Copy link
Member Author

Okay things are split out now into separate PRs

@mikemhenry
Copy link
Member Author

mikemhenry commented Mar 11, 2019

Use this link check appveyor https://ci.appveyor.com/project/mikemhenry/foyer/builds/22987938

The python 2.7 fail looks like it can't find a foyer 2.7 build, not sure why it needs that, this is fixed in a later PR where it runs tests using pytest without invoking the conda-build process which is unnecessary

@mikemhenry
Copy link
Member Author

3.5 and 3.6 appveyor passed

@mattwthompson
Copy link
Member

Strange that Python 2.7 failed but I'm not inclined to investigate it much

@justinGilmer we should sit down with Mike to get you up to speed on the many CI issues we've found but the short of this PR is that we can now reasonably expect to ship Python 3.6

@mikemhenry mikemhenry changed the title Fix/remove mbuild dep Python 3.6 Support Mar 13, 2019
@mikemhenry
Copy link
Member Author

@mattwthompson This one should be good to go, for the record, we never tested windows python2.7...

@mattwthompson mattwthompson merged commit 3d95804 into mosdef-hub:master Mar 13, 2019
@mattwthompson mattwthompson mentioned this pull request Mar 28, 2019
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.

4 participants