-
Notifications
You must be signed in to change notification settings - Fork 2
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 Uses of tox-battery #191
Comments
@feanil, before removing |
Good point, and that should be safe to do since tox-battery now explicitly declares it's requirment on tox<4.0.0 I'll update the ticket description. |
I'm new here so I want to make sure I understand what I'm doing. tox-battery only appears in requirements files, right? so we just need to remove that line? or is there something more complicated that I'm missing? |
@bpostow This upgrade is a little tricky because of how we're using common constraints. The best way to do this upgrade incrementally right now is to:
|
This step should only be needed for repos that use cc: @bpostow |
My question is mostly, WHERE is tox-battery being used? I only see it in requirements. So, if we just remove the requirement for something that isn't actually being used, shouldn't that be safe? or are there constraints somewhere else that I'm not looking? If this is a more subtle thing that a newbie shouldn't be touching, I fully understand that and will look for other better intro tickets. |
@bpostow, you don't need to explicitly use the
Do you mean this constraint (described in #203)? The process described in this comment (with this clarification) sums up everything we should do to move this forward. |
ah, ok, I was unclear on how tox works, I thought that this was a code library that would be referenced in the code somewhere. |
Hello @feanil are these issues still open? I'll like to take some |
@Younggregs this was just completed by someone else. It looks like tox-battery has been removed everywhere. |
Thank you @feanil for the feedback. |
There are a lot in the "Help Wanted" section of public-engineering: https://github.com/openedx/public-engineering/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22 |
Thank you @feanil ! |
Context
The
tox-battery
python package provides only one feature to thetox
tool. It detects changes to the requirements files that are thedeps
of a tox environment and optionally re-builds the environments if there are changes to the requirements. Thetox-battery
package can't run withtox
4.0.0 because of incompatibilites. Somake upgrade
won't upgrade us to the latest version oftox
in a bunch of repos. Howevertox>=4.0.0
has the requirements monitoring feature built-in and if we drop thetox-battery
dependency, we'll get the latesttox
with the right featureset.References
tox-battery
constrains itself correctly now.Task
tox-battery
, drop thetox-battery
dependency and upgrade totox>=4.0.0
.Task List
tox<4.0.0
as a constraint in every repo that uses tox and tox-battery #217The text was updated successfully, but these errors were encountered: