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

Drop 3.9 #14

Merged
merged 3 commits into from
Nov 10, 2022
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
31 changes: 28 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build-backend = "hatchling.build"

[project]
name = "dexie.py"
version = "0.0.9"
version = "0.0.10"
authors = [
{ name="Joseph Chiocchi", email="[email protected]" },
]
Expand All @@ -23,17 +23,42 @@ dependencies = [
"base58",
]
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]

[project.urls]
"Homepage" = "https://github.com/yyolk/dexie.py"
"Bug Tracker" = "https://github.com/yyolk/dexie.py/issues"


# I can do this with Hatch :D

[tool.hatch.envs.default]
dependencies = [
"pytest",
]

[tool.hatch.envs.default.scripts]
test = "pytest tests/*"

# a separate test env, run with:
# `hatch run +py=310 test:pytest`
#
[tool.hatch.envs.test]
dependencies = [
"pytest"
]

[tool.hatch.envs.test.scripts]
test = "pytest tests/*"

[[tool.hatch.envs.test.matrix]]
python = ["310", "311"]
Empty file added tests/__init__.py
Empty file.
8 changes: 8 additions & 0 deletions tests/dexie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pytest

import dexie


def test_bleak():
dc = dexie.Dexie(base_url="https://api.dexie.space")
assert dc