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

Dramatiq abort v1.2.1 #32

Merged
merged 6 commits into from
Nov 25, 2024
Merged

Conversation

dpgraham4401
Copy link
Contributor

Description

This PR does the following:

  1. Removes support for python 3.7
    • removes 3.7 from tox, github actions, project meta data
    • bumps configs that used python 3.7 as their reference (i.e., mypy)
  2. Adds support for python 3.11 and 3.12
    • Adds versions to tox, github actions, project meta data
    • updates select type annotations to work with python 3.12 instead of 3.7
  3. Adds a random actor_name keyword in the test_abortable_configs test.
    If tested against dramatiq==1.17.1, the current parameterized cases will all fail except for the first one because, the new version of dramatiq with throw the following exception from the Actor init method.
    ValueError: An actor named 'actor' is already registered.
    The previous version (1.16.0) did not include this check in the init method.
    To avoid that, generate a random string form actor_name to give the test/mock actor function a different name in each test scenario.
  4. Increment dramatiq-abort's patch version to 1.2.1
  5. Adds a py.typed file and includes it in the build artifact to indicate the downstream users that this package is typed

@dpgraham4401
Copy link
Contributor Author

this closes #31

@isra17
Copy link
Member

isra17 commented Nov 25, 2024

Nice thanks!

@isra17 isra17 merged commit 9fea7f4 into Flared:master Nov 25, 2024
5 checks passed
@isra17
Copy link
Member

isra17 commented Nov 25, 2024

Released

@dpgraham4401 dpgraham4401 deleted the dramatiq-abort-v1.2.1 branch November 25, 2024 16: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.

2 participants