Flared / dramatiq-abort

Dramatiq extension to abort message
http://flared.github.io/dramatiq-abort
GNU Lesser General Public License v3.0
40 stars 15 forks source link

Dramatiq abort v1.2.1 #32

Closed dpgraham4401 closed 1 week ago

dpgraham4401 commented 1 week ago

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 commented 1 week ago

this closes #31

isra17 commented 1 week ago

Nice thanks!

isra17 commented 1 week ago

Released