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

Next major release #44

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Next major release #44

wants to merge 2 commits into from

Conversation

jmgate
Copy link
Collaborator

@jmgate jmgate commented Jul 3, 2024

Type: Task

Description

A collection of breaking changes to go into the next major release.

Related Issues/PRs

Contains #40.

Motivation

Just so we don't bump the major version a lot all at once.

Mypy doesn't like that the retry argument attributes are defined
dynamically when a class is instantiated, so it'll complain that they
don't exist when a subclass developer is trying to modify them when
overriding/extending the parser.  If instead of having separate
attributes per registered stage, we just have a `dict`` where the keys
are the stage names, mypy is happy.

Note that this is a breaking change, as it changes how subclass
developers customize the parser.
…ributes

refactor!: Retry argument attributes
@jmgate jmgate self-assigned this Jul 3, 2024
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (bf9017a) to head (a06b7bf).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #44   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          180       186    +6     
  Branches        21        21           
=========================================
+ Hits           180       186    +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmgate jmgate marked this pull request as draft July 8, 2024 13:24
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.

None yet

1 participant