Skip to content

Commit

Permalink
Merge pull request #14 from yyolk/drop-3.9
Browse files Browse the repository at this point in the history
Drop 3.9
  • Loading branch information
yyolk authored Nov 10, 2022
2 parents 779b33b + 99067ba commit a5130a2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
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

0 comments on commit a5130a2

Please sign in to comment.