Skip to content

Revert "Bump jsonschema to 4.19.*" - #10773

Closed
AlexWaygood wants to merge 1 commit into
mainfrom
revert-10583-jsonschema-4.19
Closed

AlexWaygood wants to merge 1 commit into
mainfrom
revert-10583-jsonschema-4.19

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

Reverts #10583. See #10772: the PR makes types-jsonschema incompatible with Python 3.7, since types-jsonschema now depends on the referencing library, which requires Python 3.8+ (but didn't state as much in its setup.py/pyproject.toml in early versions released to PyPI).

We should be able to revert the revert once typeshed-internal/stub_uploader#103 is merged, which will allow us to properly declare that the stubs package requires Python 3.8+.

@AlexWaygood
AlexWaygood requested a review from srittau September 25, 2023 15:38
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau

srittau commented Sep 25, 2023

Copy link
Copy Markdown
Collaborator

I don't think this is a good idea. I'm not sure the stub uploader will handle this case gracefully.

@AlexWaygood

Copy link
Copy Markdown
Member Author

I don't think this is a good idea. I'm not sure the stub uploader will handle this case gracefully.

Ah. Well, you know better than me when it comes to that.

What will the stub-uploader do if we yank v4.19.0.0 without doing this revert? Will it simply stop pushing new versions to PyPI for the time being, or will it push v4.19.0.0 again?

@srittau

srittau commented Sep 25, 2023

Copy link
Copy Markdown
Collaborator

I'll just merge the changes to the stub uploader and kick off a new release of types-jsonschema. Then we should be safe.

@AlexWaygood

Copy link
Copy Markdown
Member Author

Okay, great!

@AlexWaygood
AlexWaygood deleted the revert-10583-jsonschema-4.19 branch September 25, 2023 16:19
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