-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: pre-commit check for setup.cfg options.extras_require #48949
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
Comments
Hi, is this issue related to fixing the versioning problem when we have dependencies on different versions of options.extras_require ( hypothesis>=5.5.3, pytest>=6.0, pytest-xdist>=1.31, pytest-asyncio>=0.17.0) or all the depending packages version mentioned in setup.cfg ? |
This is an issue to follow up #47336 such that |
Hey interesting in taking this on? Any ideas where to get started? |
yes, I have earlier worked on creating ci actions which checks the code formatting, builds etc whenever there is push to pr but this one I am still trying to understand the flow to get start |
I'd suggest checking how |
Noting that this issue is blocked by #47336 being merged first. |
Anybody have any idea on how to handle the symmetric difference for more than two sets?
in From my understanding we would want to add the dependencies extracted from |
Would something like |
Instead subtract the intersection from the union Based on experience my key goal here would be clear error messages to help users find the problem, so I'd then compare the diff list against each the pkg list from each source file to identify which file is missing what pkg and print that as part of the failure message. |
PS. @mroeschke suggest we add this to the 2.0 milestone. Apologies for the ping on admin; I don't have permissions to do add milestones or tags. |
Thanks @JMBurley ill look into it. |
^ Was meant to make it a draft |
Feature Type
setup.cfg
Problem Description
After #47336 added optional_extras in
setup.cfg
, we do not have a programmatic check that versions are aligned across the all places they are specified in pandas.@JMBurley & @mroeschke active in prior thread.
Feature Description
A pre-commit check that ensure that the min version in setup.cfg are aligned with other areas we specify min version (would mean augmenting
scripts/validate_min_versions_in_sync.py
)Alternative Solutions
N/A. Simplest to extend existing actions to cover new usage.
Additional Context
No response
The text was updated successfully, but these errors were encountered: