Skip to content

Commit

Permalink
Merge pull request #98 from pymeasure/py313
Browse files Browse the repository at this point in the history
Add support for Python 313
  • Loading branch information
BenediktBurger authored Oct 29, 2024
2 parents 30b307b + 0440eed commit 45f7e18
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pyleco_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: python=3.10
cache-environment-key: pylatest-ubuntu-latest-mamba-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}
cache-downloads: false
- name: Python and Mamba version
Expand Down Expand Up @@ -111,7 +112,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
with:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

## [Unreleased]

### Changed

* Openrpc is optional (available via `openrpc` option) for Python 3.13 onwards.

### Added

* Support for Python 3.13


## [0.4.0] 2024-06-19

_Binary data handling facilitated with utility functions._
Expand Down
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@ classifiers = [
requires-python = ">=3.8"
dependencies = [
"pyzmq >= 22.3.0",
"openrpc >= 8.1.0; python_version >= '3.9'",
"openrpc >= 8.1.0; python_version >= '3.9' and python_version < '3.13'",
"uuid6 >= 2024.1.12",
]

[project.optional-dependencies]
dev = [
'pytest',
'pytest-cov',
'sphinx',
'sphinx_rtd_theme',
"pytest",
"pytest-cov",
"sphinx",
"sphinx_rtd_theme",
]
openrpc = [
"openrpc >= 8.1.0; python_version >= '3.9'",
]

[project.urls]
Expand Down

0 comments on commit 45f7e18

Please sign in to comment.