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

Implement compatibility with Towncrier >= 22.12.0rc1 #75

Merged
merged 2 commits into from
Dec 22, 2022

Conversation

q0w
Copy link
Contributor

@q0w q0w commented Dec 21, 2022

Fixes breaks because of twisted/towncrier#429

@webknjaz
Copy link
Member

I wouldn't drop support for all the older versions, meaning this needs compat shims that would satisfy the CI matrix as well as a test case for future compatibility.

@codecov
Copy link

codecov bot commented Dec 21, 2022

Codecov Report

Merging #75 (350c085) into master (12362b5) will increase coverage by 0.51%.
The diff coverage is 60.00%.

❗ Current head 350c085 differs from pull request most recent head 7cb2716. Consider uploading reports for the commit 7cb2716 to get more accurate results

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   50.00%   50.51%   +0.51%     
==========================================
  Files           9        9              
  Lines         188      196       +8     
  Branches       24       25       +1     
==========================================
+ Hits           94       99       +5     
- Misses         93       96       +3     
  Partials        1        1              

setup.cfg Outdated Show resolved Hide resolved
@webknjaz webknjaz force-pushed the fix-towncrier22.12.0 branch 2 times, most recently from bdf25de to 1db6ca1 Compare December 22, 2022 16:34
q0w and others added 2 commits December 22, 2022 17:34
This is a compatibility change needed for Towncrier >= 22.12.0rc1
after it changed the internal object to be a `dataclass`.

Refs:
* twisted/towncrier#429
* twisted/towncrier#461

Resolves sphinx-contrib#76.

Co-Authored-By: davfsa <[email protected]>
Co-Authored-By: Sviatoslav Sydorenko <[email protected]>
This is necessary as a compatibility improvement after the said
function arguments got renamed but the order stayed the same.

Ref: twisted/towncrier#429
@webknjaz webknjaz force-pushed the fix-towncrier22.12.0 branch from 1db6ca1 to 7cb2716 Compare December 22, 2022 16:35
@webknjaz webknjaz merged commit c8ea949 into sphinx-contrib:master Dec 22, 2022
@webknjaz webknjaz changed the title Transform dataclass to dict for towncrier>=22.12.0 Implement compatibility with Towncrier >= 22.12.0rc1 Dec 22, 2022
@q0w q0w deleted the fix-towncrier22.12.0 branch December 23, 2022 11:38
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