Skip to content

Conversation

@martinhoyer
Copy link
Contributor

@martinhoyer martinhoyer commented Aug 27, 2024

Use the referencing library where available instead of deprecated jsonschema.RefResolver.

Addressing #194 .

Getting rid of deprecation warnings.

@martinhoyer martinhoyer self-assigned this Aug 27, 2024
@martinhoyer martinhoyer added utils and removed discuss labels Nov 1, 2024
@martinhoyer martinhoyer changed the title [DO NOT MERGE] Migrate from RefResolver to referencing library Use referencing library where available instead of deprecated jsonschema.RefResolver Nov 1, 2024
@martinhoyer martinhoyer marked this pull request as ready for review November 1, 2024 19:13
@psss psss added this to the 1.5 milestone Nov 26, 2024
@happz
Copy link
Contributor

happz commented Nov 26, 2024

So many distinct changes squashed into a single PR :(

@martinhoyer
Copy link
Contributor Author

So many distinct changes squashed into a single PR :(

Well, I couldn't run pre-commit without it and didn't want to make workarounds.

@martinhoyer
Copy link
Contributor Author

martinhoyer commented Nov 26, 2024

...but fwiw, for there is a pr for the last commit #258

Context for the autopep8 is that the previous hook repo was unmaintained and stopped being updated (doesn't work at all on py3.13). Replaced it with what was recommended as replacement and with --strict, the is_instance changes were needed to pass that check.

@martinhoyer
Copy link
Contributor Author

And of course I have a typo in commit message refferencing -> referencing.

@psss
Copy link
Contributor

psss commented Nov 29, 2024

So many distinct changes squashed into a single PR :(

Well, I couldn't run pre-commit without it and didn't want to make workarounds.

Let's address at least the pre-commit changes separately in #259?

Copy link
Contributor

@psss psss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this! Looks good, just a few minor comments.

@psss psss linked an issue Dec 2, 2024 that may be closed by this pull request
@psss psss changed the title Use referencing library where available instead of deprecated jsonschema.RefResolver Use the referencing library where available Dec 2, 2024
@psss
Copy link
Contributor

psss commented Dec 2, 2024

/packit build

@psss psss merged commit b439fc8 into teemtee:main Dec 2, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace jsonschema.RefResolver as is being deprecated

4 participants