Skip to content

Commit

Permalink
chore: set dependencies for [test] extra
Browse files Browse the repository at this point in the history
  • Loading branch information
sassanh committed Oct 25, 2024
1 parent a0a3ab5 commit b978274
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 42 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- name: Create virtualenv
run: |
uv venv --system-site-packages
uv sync --extra test
- name: Create stub files
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Upcoming

- chore: set dependencies for `[test]` extra

## Version 0.10.0

- chore: migrate from poetry to uv for the sake of improving performance and dealing with conflicting sub-dependencies
Expand Down
16 changes: 0 additions & 16 deletions headless_kivy/_version.py

This file was deleted.

32 changes: 14 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@
name = "headless-kivy"
dynamic = ["version"]
description = "Headless renderer for Kivy framework"
license = "Apache-2.0"
license = { text = "Apache-2.0" }
authors = [{ name = "Sassan Haradji", email = "[email protected]" }]
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",
"pypng >= 0.20220715.0",
"python-strtobool >= 1.0.0",
dependencies = ["numpy >= 2.0.0", "kivy >= 2.2.1", "python-strtobool >= 1.0.0"]

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

[tool.uv]
dev-dependencies = [
"poethepoet >= 0.29.0",
"pyright >= 1.1.386",
"ruff >= 0.7.1",
"pytest >= 8.3.3",
]

[project.urls]
Expand All @@ -19,14 +27,6 @@ repository = 'https://github.com/sassanh/headless-kivy/'
documentation = 'https://github.com/sassanh/headless-kivy/'
changelog = 'https://github.com/sassanh/headless-kivy/blob/main/CHANGELOG.md'

[tool.uv]
dev-dependencies = [
"poethepoet >= 0.24.4",
"pyright >= 1.1.376",
"ruff >= 0.6.0",
"pytest >= 8.1.1",
]

[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
Expand All @@ -46,10 +46,6 @@ packages = ["headless_kivy", "headless_kivy_pytest"]
[tool.hatch.build.targets.sdist]
packages = ["headless_kivy", "headless_kivy_pytest"]

[[project.authors]]
name = "Sassan Haradji"
email = "[email protected]"

[project.scripts]
demo = "demo:main"
todo_demo = "todo_demo:main"
Expand Down
20 changes: 12 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b978274

Please sign in to comment.