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

Update dependencies, mostly related to testing, plus sklearn 1.0. #1236

Merged
merged 3 commits into from
Sep 28, 2021

Conversation

zaneselvans
Copy link
Member

Also loosened the compatible pins on testing packages with v0.x

@codecov
Copy link

codecov bot commented Sep 27, 2021

Codecov Report

Merging #1236 (c1ebbb6) into dev (a879e40) will increase coverage by 0.20%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1236      +/-   ##
==========================================
+ Coverage   81.35%   81.55%   +0.20%     
==========================================
  Files          52       52              
  Lines        6379     6379              
==========================================
+ Hits         5189     5202      +13     
+ Misses       1190     1177      -13     
Impacted Files Coverage Δ
src/pudl/analysis/timeseries_cleaning.py 88.62% <0.00%> (+2.84%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a879e40...c1ebbb6. Read the comment docs.

Copy link
Member

@bendnorman bendnorman left a comment

Choose a reason for hiding this comment

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

All of the tests passed for me 👍 .

@@ -98,7 +98,7 @@
"finance", "eia 923", "eia 860", "ferc", "form 1", "epa ampd",
"epa cems", "coal", "natural gas", "eia 861", "ferc 714"],
python_requires=">=3.8,<3.10",
# setup_requires=["setuptools_scm"],
setup_requires=["setuptools_scm"],
Copy link
Member

Choose a reason for hiding this comment

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

Why was this uncommented? It looks like this usage has been deprecated.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I thought too, but in a lot of contexts it seems to be failing unless this is uncommented. I've got it in the pyproject.toml file as a required part of the build system, and it often doesn't seem to get picked up. Instead I end up seeing version catalystcoop.pudl v0.0.0 (e.g. at the beginning of test runs). But when it's uncommented, the versions always seem to show up correctly so... 🤷🏼‍♂️

Copy link
Member Author

Choose a reason for hiding this comment

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

I just tested it again with the extra line they say to add -- the [tools.setuptools_scm] section header. And it still doesn't work, at least within Tox. So I think there's just lag in all the various packaging tools picking up on the pyproject.toml settings (which it seems like has been in place for years at this point), so I think we have the same thing specified in both places for maximal compatibility.

@zaneselvans zaneselvans merged commit 3f1e628 into dev Sep 28, 2021
@zaneselvans zaneselvans deleted the update-dependencies branch September 28, 2021 04:22
@zaneselvans zaneselvans added the dependencies Pull requests that update a dependency file label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants