-
-
Notifications
You must be signed in to change notification settings - Fork 779
Update oslo.config to prepare for python 3.10 support.
#6193
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
Conversation
|
|
||
| apscheduler | ||
| argcomplete | ||
| argparse |
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 was only included as a transitive dep of the old version of oslo.config, and the newer versions don't require it, so pants happily removed it from the lockfile. However, our code directly imports it, so I added it back as a direct dep.
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.
Thanks for the hint. Was already wondering how it could work without argparse.
|
|
||
| expected_msg = "Valid values are: strict, lax, none, unset" | ||
| self.assertRaisesRegex( | ||
| ValueError, expected_msg, validate_auth_cookie_is_correctly_configured |
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.
The newer version of oslo.config errors out itself, so some of our custom validation in the validate_auth_cookie_is_correctly_configured function is no longer needed.
Lockfile diff: lockfiles/st2.lock [st2] == Upgraded dependencies == filelock 3.13.4 --> 3.14.0 oslo-config 1.12.1 --> 9.4.0 pytest 8.1.1 --> 8.2.0 virtualenv 20.26.0 --> 20.26.1 == Added dependencies == rfc3986 2.0.0
7a6d0cb to
efb75de
Compare
|
rebased on master |
|
|
||
| apscheduler | ||
| argcomplete | ||
| argparse |
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.
Thanks for the hint. Was already wondering how it could work without argparse.
This extracts the
oslo.configcommits by @nzlosh from #6157.Lockfile diff: