-
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
Modernize project #181
Modernize project #181
Conversation
be14706
to
d357dba
Compare
d357dba
to
0b50425
Compare
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.
Just nit-picking :)
CHANGELOG.rst
Outdated
@@ -4,7 +4,12 @@ ChangeLog | |||
8.1 (unreleased) | |||
---------------- | |||
|
|||
- Nothing changed yet. | |||
- Add support for Python 3.12 | |||
- Drop support for Python 3.11 |
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.
You mean "add support" right?
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.
Yes indeed :')
install_requires = | ||
click | ||
docker>=3.0.0 | ||
importlib_metadata; python_version<"3.8" |
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 following line can also be removed?
importlib.resources exists in Python 3.7, thus removing backport dependency.
0b50425
to
9b9fb9f
Compare
src/grocker/builders/op.py
Outdated
@@ -93,7 +93,7 @@ def get_manifest_digest(name): | |||
return None # Docker HUB API is not documented | |||
|
|||
registry, repository = registry_repository.split('/', 1) | |||
response = requests.head(f'https://{registry}/v2/{repository}/manifests/{tag}') | |||
response = requests.head(f'https://{registry}/v2/{repository}/manifests/{tag}', timeout=60) |
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.
5 seconds should me more than enough, no need to ever wait that long
requirements-dev.txt
Outdated
@@ -26,3 +26,4 @@ vulture | |||
# Release | |||
zest.releaser[recommended] | |||
polydev.github |
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.
looking at https://github.com/Polyconseil/polydev-github/tree/master, I think we could drop this now that releases are done by GH actions
- Drop flake8-builtins-unleashed plugin. This plugin is not maintained anymore and is not compatible with flake8 > 3.0
9b9fb9f
to
8a84ea3
Compare
No description provided.