-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Ability to use updater script to pin dev requirements #14644
Conversation
@@ -9,7 +9,6 @@ black | |||
pytest!=7.0.0 | |||
pytest-cov | |||
pytest-django | |||
pytest-pythonpath |
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 library requires an old version of pytest which is, of course, conflicting with other libraries here. I guess it just ignored the conflict up until this point. If you actually go to the project, it basically says it's old and don't use it anymore. This won't work with the conflict, and it seems we didn't need this either.
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 seems good to me, aside from my pretty minor picky comment.
@TheRealHaoLiu had the idea of pinning the black version when we do a tower release. I like that. Keep awx devel unpinned so we hit new versions of black and deal with the changes. Pin old releases to black version at that time. This change unlocks that ability. |
0db1aa6
to
0d51aa5
Compare
I re-tested and it works so I'll go ahead and merge. |
* Add a dev option for updater script to pin CI reqs * Avoid removing git links for dev requirements * Add dev to primary options * Fix up sanitize git switch
* Add a dev option for updater script to pin CI reqs * Avoid removing git links for dev requirements * Add dev to primary options * Fix up sanitize git switch
SUMMARY
Don't plan to use this here, but it's good to have for forks, so they won't get surprised by updates to these libraries.
ISSUE TYPE
COMPONENT NAME