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

Issue 67: Remove deprecated parts #85

Merged
merged 2 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Not published
### Changed
- Removed `set_keepawake` and `unset_keepawake functions` and the `keepawake` context manager. These were deprecated in 0.7.0 and are replaced with the new api: `keep.running` and `keep.presenting` context managers.

## [0.7.2] (2023-09-27)
### Fixed
- The CLI API on python 3.7 and python 3.8. Thanks to [Aymane11](https://github.com/Aymane11) for [PR #50](https://github.com/fohrloop/wakepy/pull/50)
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,12 @@ warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true
exclude = "wakepy/_deprecated/"

[[tool.mypy.overrides]]
module = 'jeepney.*'
ignore_missing_imports = true

[[tool.mypy.overrides]]
# This package will be removed soon. Do not fix.
module = 'wakepy._deprecated.*'
check_untyped_defs = false

[tool.pytest.ini_options]
Expand Down
16 changes: 0 additions & 16 deletions tests/unit/test__deprecated.py

This file was deleted.

3 changes: 0 additions & 3 deletions wakepy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from ._deprecated import keepawake as keepawake
from ._deprecated import set_keepawake as set_keepawake
from ._deprecated import unset_keepawake as unset_keepawake
from .modes import keep as keep

__version__ = "0.8.0dev"
99 changes: 0 additions & 99 deletions wakepy/_deprecated/__init__.py

This file was deleted.

38 changes: 0 additions & 38 deletions wakepy/_deprecated/_darwin.py

This file was deleted.

58 changes: 0 additions & 58 deletions wakepy/_deprecated/_linux/__init__.py

This file was deleted.

62 changes: 0 additions & 62 deletions wakepy/_deprecated/_linux/_dbus.py

This file was deleted.

Loading