Skip to content
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
34 changes: 2 additions & 32 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=development --extra=docs --extra=testing --extra=ws --output-file=./dev-requirements.txt pyproject.toml
Expand Down Expand Up @@ -32,7 +32,6 @@ click==8.1.8
# via
# black
# pip-tools
# s2-python (pyproject.toml)
colorama==0.4.6
# via tox
coverage[toml]==7.6.1
Expand All @@ -48,8 +47,6 @@ docutils==0.20.1
# sphinx
# sphinx-rtd-theme
# sphinx-tabs
exceptiongroup==1.2.2
# via pytest
filelock==3.16.1
# via
# tox
Expand All @@ -62,11 +59,6 @@ idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.5.0
# via
# build
# setuptools-scm
# sphinx
inflect==5.6.2
# via datamodel-code-generator
iniconfig==2.0.0
Expand Down Expand Up @@ -152,8 +144,6 @@ pytest-coverage==0.0
# via s2-python (pyproject.toml)
pytest-timer==1.0.0
# via s2-python (pyproject.toml)
pytz==2025.1
# via s2-python (pyproject.toml)
pyyaml==6.0.2
# via
# datamodel-code-generator
Expand Down Expand Up @@ -200,36 +190,18 @@ sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
tomli==2.2.1
# via
# black
# build
# coverage
# datamodel-code-generator
# mypy
# pip-tools
# pylint
# pyproject-api
# pytest
# setuptools-scm
# tox
# via datamodel-code-generator
tomlkit==0.13.2
# via pylint
tox==4.24.1
# via s2-python (pyproject.toml)
types-pytz==2024.2.0.20241221
# via s2-python (pyproject.toml)
typing-extensions==4.12.2
# via
# astroid
# black
# mypy
# pydantic
# pydantic-core
# pylint
# pyright
# s2-python (pyproject.toml)
# setuptools-scm
# tox
urllib3==2.2.3
# via requests
virtualenv==20.29.2
Expand All @@ -240,8 +212,6 @@ websockets==13.1
# via s2-python (pyproject.toml)
wheel==0.45.1
# via pip-tools
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ license-files = ["LICENSE"]
requires-python = ">=3.9, < 3.14"
dependencies = [
"pydantic>=2.8.2",
"pytz",
"click",
"typing-extensions",
]
classifiers = [
Expand All @@ -25,7 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.13",
]

[tool.setuptools_scm]
Expand All @@ -44,7 +42,6 @@ testing = [
"pytest-coverage",
"pytest-timer",
"mypy",
"types-pytz",
"pylint",
"pyright",
]
Expand Down
6 changes: 2 additions & 4 deletions tests/unit/common/instruction_status_update_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import uuid
from unittest import TestCase

from pytz import timezone
from zoneinfo import ZoneInfo

from s2python.common import InstructionStatusUpdate, InstructionStatus

Expand Down Expand Up @@ -44,9 +44,7 @@ def test__to_json__happy_path(self):
message_id=uuid.UUID("2bdec96b-be3b-4ba9-afa0-c4a0632cced3"),
instruction_id=uuid.UUID("2bdec96b-be3b-4ba9-afa0-c4a0632cced4"),
status_type=InstructionStatus.SUCCEEDED,
timestamp=timezone("Europe/Amsterdam").localize(
datetime(2023, 8, 2, 12, 48, 42)
),
timestamp=datetime(2023, 8, 2, 12, 48, 42, tzinfo=ZoneInfo("Europe/Amsterdam")),
)

# Act
Expand Down