-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
3.2.0release #230
3.2.0release #230
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #230 +/- ##
=======================================
Coverage 95.74% 95.74%
=======================================
Files 12 12
Lines 1903 1903
=======================================
Hits 1822 1822
Misses 81 81 ☔ View full report in Codecov by Sentry. |
Hmm, Regarding the tests, we don't test the packaging currently because the uncertainties directory is top level and we run the tests from the top level. So the tests would pass even if we did not install the package. We could adjust things to make sure the installed files are tested. |
In a fresh devel environment (deleting the |
Could it be that you just did not have numpy installed because you did not do |
I do have
You could use
to find subpackages, but
will not find subpackages. |
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.
Ah, you're right! I hadn't tried cleaning my repository before. It must have only worked for me because of the build/
directory or some other left over metadata.
Reading the setuptools documentation again, I think it would be better to change include
to uncertainties*
and get rid of exclude
but what is in this PR is fine.
@wshanks Thanks. In other projects, I have favored an explicit list of sub-packages to avoid mistakes. But, now that "tests" have moved out, I think "uncertainties*" would be OK. |
This is such a small project that an explicit list seems fine. I will open a PR to ensure that the package as installed from the wheel is tested in CI. I can switch to an explicit list (without |
I opened #232 to make sure we test the installed version of the package. |
We need to set the version in
pyproject.toml
too!Also, apparently
uncertainties.unumpy
was not being installed -- how did tests pass?