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

Modernize project #181

Merged
merged 11 commits into from
Feb 23, 2024
Merged

Modernize project #181

merged 11 commits into from
Feb 23, 2024

Conversation

sandre35
Copy link
Contributor

No description provided.

@sandre35 sandre35 force-pushed the sandre/bookworm_support branch 2 times, most recently from be14706 to d357dba Compare February 22, 2024 13:30
@sandre35 sandre35 force-pushed the sandre/bookworm_support branch from d357dba to 0b50425 Compare February 22, 2024 16:52
Copy link
Collaborator

@qbey qbey left a 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
Copy link
Collaborator

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?

Copy link
Contributor Author

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"
Copy link
Collaborator

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.
@sandre35 sandre35 force-pushed the sandre/bookworm_support branch from 0b50425 to 9b9fb9f Compare February 23, 2024 09:17
@sandre35 sandre35 self-assigned this Feb 23, 2024
@sandre35 sandre35 requested a review from RemiCardona February 23, 2024 09:18
@@ -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)
Copy link
Contributor

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

@@ -26,3 +26,4 @@ vulture
# Release
zest.releaser[recommended]
polydev.github
Copy link
Contributor

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
@sandre35 sandre35 force-pushed the sandre/bookworm_support branch from 9b9fb9f to 8a84ea3 Compare February 23, 2024 13:39
@sandre35 sandre35 merged commit 8a84ea3 into main Feb 23, 2024
2 of 12 checks passed
@sandre35 sandre35 deleted the sandre/bookworm_support branch February 23, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants