Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
micktwomey committed Jun 9, 2023
1 parent 9676571 commit 95f06e3
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 373 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Tested against:
- Python 3.9
- Python 3.10
- Python 3.11
- Python 3.12
- PyPy 3

Python 3 versions < 3.7 are untested but should work.
Expand All @@ -118,6 +119,7 @@ Changes
unreleased
----------

* Add Python 3.12 support
* Drop Python 3.6 support (3.6 is end of life)
* Freshen up README
* Fix test_fixedoffset_eq by adding an actual assertion
Expand Down
12 changes: 7 additions & 5 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,30 @@


@nox.session(reuse_venv=True)
def lint(session: nox.Session):
def lint(session: nox.Session) -> None:
session.install("pytest", "hypothesis", "pytz", "black", "mypy", "isort")
session.run("isort", "--check", "--diff", "iso8601")
session.run("black", "--check", "--diff", "iso8601")
session.run("mypy", "--strict", "iso8601")


@nox.session(reuse_venv=True)
def check_example(session: nox.Session):
def check_example(session: nox.Session) -> None:
session.install(".", "mypy")
session.run("mypy", "--strict", "docs/example.py")
session.run("python", "docs/example.py")


@nox.session(reuse_venv=True)
def docs(session: nox.Session):
def docs(session: nox.Session) -> None:
session.install(".", "Sphinx")
session.run("sphinx-build", "docs", "docs/_build")


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"], reuse_venv=True)
def test(session: nox.Session):
@nox.session(
python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"], reuse_venv=True
)
def test(session: nox.Session) -> None:
session.install(".")
session.install("pytest", "hypothesis", "pytz")
session.run("pytest", "-vv", "--tb=short", "--log-level=INFO")
Loading

0 comments on commit 95f06e3

Please sign in to comment.