-
Notifications
You must be signed in to change notification settings - Fork 33
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
Replace setup.py
with pyproject.toml
, update actions to latest versions
#865
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #865 +/- ##
==========================================
- Coverage 94.07% 89.85% -4.23%
==========================================
Files 65 65
Lines 6953 6976 +23
==========================================
- Hits 6541 6268 -273
- Misses 412 708 +296 ☔ View full report in Codecov by Sentry. |
The failing bleeding edge test is related to this issue. Haven't had a chance to take a look yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ready to merge.
I can't re-create the bleeding edge test errors locally. It seems like an issue with
|
Ok, the environment has With lark 1.2.2, I don't get an attribute error
|
This looks wrong in line 52 under the Bleeding Edge Stage (Check Environment) We also are getting lark 1.2.2, but wonder if the issues lies in this odd downgrade of mBuild and Foyer, then reinstalling from source. Essentially, since the packages depend on each other, installing the dependencies of each may cause some self-reference issue. There's some reference to some weird "already existing files" happening during the linking step |
Yeah, I noticed the bleeding edge test isn't using the latest version of mBuild. I wonder if we should have yet another |
I added this out of curiosity, we can still talk about it and switch it back if we decide not to go this route. |
Looks like it's working as expected now. I'd say in general this is better practice since it will decrease confusion when the environments get updated. |
Current bleeding edge test gets Foyer 1.0.0, mBuild 1.0.0, and GMSO 0.0.0. Looks good, other than the pip install for GMSO now is naming the wheel with the wrong version. |
Agreed. Should we have a new |
I think your point is reasonable, this can essentially be a single dev environment. If you're going to be developing the packages, there aren't that many extra dependencies across all of them. |
This should be fixed now. |
Ok, so just to clarify, gmso, foyer and mbuild will essentially all have the same |
I'm still confused as to what this package is. It looks like a typo somewhere for |
Found the culprit. |
I'll make a PR to fix that. I need to update the versioning in the .toml file over there as well. |
PR Summary:
Same as the PR made over in mBuild mosdef-hub/mbuild#1217
It's recommended to use
pyproject.toml
instead ofsetup.py
and gets rid of the deprecation error when runningpip install .
inside the repo.