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

Ability to use updater script to pin dev requirements #14644

Merged
merged 4 commits into from
Feb 12, 2024

Conversation

AlanCoding
Copy link
Member

@AlanCoding AlanCoding commented Nov 9, 2023

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
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Nov 9, 2023
@AlanCoding AlanCoding marked this pull request as ready for review November 9, 2023 17:02
@@ -9,7 +9,6 @@ black
pytest!=7.0.0
pytest-cov
pytest-django
pytest-pythonpath
Copy link
Member Author

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.

Copy link
Contributor

@jbradberry jbradberry left a 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.

@chrismeyersfsu
Copy link
Member

@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.

@AlanCoding
Copy link
Member Author

I re-tested and it works so I'll go ahead and merge.

@AlanCoding AlanCoding merged commit 4c41f6b into ansible:devel Feb 12, 2024
21 checks passed
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
* 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
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
* 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
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.

3 participants