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

Remove unused configuration settings #1346

Merged
merged 5 commits into from
Nov 17, 2023
Merged

Remove unused configuration settings #1346

merged 5 commits into from
Nov 17, 2023

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Nov 8, 2023

No description provided.

@jwodder jwodder added internal Changes only affect the internal API code quality Nonfunctional improvements to the codebase labels Nov 8, 2023
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9335182) 89.04% compared to head (faf3fd1) 89.03%.
Report is 22 commits behind head on master.

❗ Current head faf3fd1 differs from pull request most recent head 3b5edb7. Consider uploading reports for the commit 3b5edb7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1346      +/-   ##
==========================================
- Coverage   89.04%   89.03%   -0.01%     
==========================================
  Files          76       76              
  Lines       10243    10243              
==========================================
- Hits         9121     9120       -1     
- Misses       1122     1123       +1     
Flag Coverage Δ
unittests 89.03% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jwodder jwodder marked this pull request as ready for review November 8, 2023 19:15
tox.ini Outdated
ignore:Passing None into shape arguments.*:DeprecationWarning:h5py
ignore:the imp module is deprecated:DeprecationWarning
ignore:`Unit` has been deprecated:DeprecationWarning:humanize
ignore:The distutils package is deprecated:DeprecationWarning:joblib
Copy link
Member

Choose a reason for hiding this comment

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

are you sure we have minimal versions provided so that we no longer can run into those warningns?

Copy link
Member Author

Choose a reason for hiding this comment

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

The warnings don't occur in testing anymore (as the tests pass), and this configuration only affects testing.

Copy link
Member

Choose a reason for hiding this comment

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

Correct, but testing might be done where we do not have most recent versions of those dependencies (conda, or some linux distribution) thus causing fails.

Copy link
Member Author

Choose a reason for hiding this comment

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

Most of our runtime dependencies don't have minimum versions specified at the moment, so theoretically testing elsewhere could use arbitrarily old packages with all sorts of warnings. Exactly what situation are you trying to avoid?

Copy link
Member

Choose a reason for hiding this comment

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

pretty much those I described -- testing package build ATM on conda, but later could be on debian/ubuntu systems. If we don't have minimal versions specified, we have no guarantees that we would not hit those warnings which are to be ignored. So why not to keep them around for now?

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've removed the commit that deleted the "ignores" and created #1360.

@yarikoptic
Copy link
Member

type checking was fixed elsewhere

@yarikoptic yarikoptic merged commit 39c70ea into master Nov 17, 2023
23 of 25 checks passed
@yarikoptic yarikoptic deleted the clean-config branch November 17, 2023 03:02
Copy link

🚀 PR was released in 0.58.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Nonfunctional improvements to the codebase internal Changes only affect the internal API released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants