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

Remove dependency on deprecated package #1113

Merged
merged 3 commits into from Mar 8, 2023

Conversation

dairiki
Copy link
Contributor

@dairiki dairiki commented Mar 3, 2023

Here we remove our dependency on deprecated and re-implement our own @deprecated decorator (which we used to mark deprecated functions and methods).

Issue(s) Resolved

Mostly, in a future PR (soon to be created) I want to add a couple optional parameters to the @deprecated decorator.

This also removes a transitive dependency on wrapt.

Related Issues / Links

Description of Changes

  • [ x] Wrote at least one-line docstrings (for any new functions)
  • [ x] Added unit test(s) covering the changes (if testable)

@dairiki dairiki added this to the 3.4 milestone Mar 3, 2023
@dairiki dairiki merged commit ac54bcd into lektor:master Mar 8, 2023
@dairiki dairiki deleted the refactor.deprecated-decorator branch March 8, 2023 22:23
dairiki added a commit to dairiki/lektor that referenced this pull request Sep 11, 2023
* refactor: remove dependency on "deprecated" package

* test: check that deprecations are attributed to the correct caller

* refactor: tidy various existing deprecation warnings
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