Skip to content

Commit

Permalink
fix: limit numpy version to <2.0.0 to avoid breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sassanh committed Nov 24, 2024
1 parent 75cdfa4 commit f9fd60a
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 72 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Upcoming

- fix: limit numpy version to \<2.0.0 to avoid breaking changes

## Version 0.12.1

- docs: update README.md with the new features
Expand Down
2 changes: 1 addition & 1 deletion headless_kivy/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def add_file_handler() -> None:
logger.addHandler(file_handler)


__all__ = ('logger', 'add_stdout_handler', 'add_file_handler')
__all__ = ('add_file_handler', 'add_stdout_handler', 'logger')
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ maintainers = [{ name = "Sassan Haradji", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.11"
keywords = ['kivy', 'headless', 'display', 'pytest', 'test']
dependencies = ["numpy >= 1.24.2", "kivy >= 2.2.1", "python-strtobool >= 1.0.0"]
dependencies = [
"numpy >= 1.24.2, < 2.0.0",
"kivy >= 2.2.1",
"python-strtobool >= 1.0.0",
]

[project.optional-dependencies]
test = ["pypng >= 0.20220715.0"]
Expand Down
Loading

0 comments on commit f9fd60a

Please sign in to comment.