From 47c8eb7c5854a7a4ae55670954d0032f463a96ef Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Mon, 2 Jan 2023 19:40:35 +0100 Subject: [PATCH 1/2] add py3.10 --- .github/workflows/pytest.yml | 2 +- pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 0d35c5eb..a4e256d8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -34,7 +34,7 @@ jobs: fail-fast: true matrix: os: [ "ubuntu-latest", "macos-latest" , "windows-latest"] - python-version: [ "3.9" ] + python-version: [ "3.9", "3.10" ] defaults: run: shell: bash diff --git a/pyproject.toml b/pyproject.toml index 3710ce26..efcd6012 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ classifiers = [ "Intended Audience :: Science/Research", "Natural Language :: English", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", ] exclude = ["pyhdx/_version.py"] @@ -27,7 +28,7 @@ max-complexity = 10 line-length = 100 [tool.poetry.dependencies] -python = "3.9.*" +python = ">=3.9.*, <3.11" torch = "^1.13.1" hdxrate = "^0.2.0" numpy = "^1.24.1" From 6a7548025936c94d0b442a7f5e8e16ecb4a062fa Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Mon, 2 Jan 2023 19:52:42 +0100 Subject: [PATCH 2/2] update lock file --- poetry.lock | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index dae91a06..7a195419 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2119,7 +2119,10 @@ files = [ ] [package.dependencies] -numpy = {version = ">=1.20.3", markers = "python_version < \"3.10\""} +numpy = [ + {version = ">=1.20.3", markers = "python_version < \"3.10\""}, + {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, +] python-dateutil = ">=2.8.1" pytz = ">=2020.1" @@ -4185,5 +4188,5 @@ web = ["panel", "bokeh", "holoviews", "colorcet", "hvplot", "proplot"] [metadata] lock-version = "2.0" -python-versions = "3.9.*" -content-hash = "328c5daa165eb9f63483cb17a35d59996987755f765ce927676e1fcecbb43834" +python-versions = ">=3.9.*, <3.11" +content-hash = "f4eebd57d7de44545d6fd9dea90b45936c353c77ed0dd52f7ff80c0b2ab6f970"