Skip to content

Commit

Permalink
Updated dependencies to address CVE-2024-26134 (#2)
Browse files Browse the repository at this point in the history
* Updated dependencies to cbor2 >= 5.6.2

* Bump version to 0.16.3
  • Loading branch information
PatrickBaus authored May 23, 2024
1 parent d68fd11 commit 90a4ff6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: [ "3.12" ]

steps:
- name: Checkout source repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: [ "3.12" ]

steps:
- name: Checkout source repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: [ "3.10", "3.11", "3.12" ]

steps:
- name: Checkout source repository
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
# Check for invalid files
- id: check-toml
Expand All @@ -14,7 +14,7 @@ repos:
args: [--fix=lf]
- id: check-executables-have-shebangs
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.4.2
hooks:
- id: black
args: ['labnode_async']
Expand All @@ -24,7 +24,7 @@ repos:
- id: blacken-docs
args: [--line-length=120]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: local
Expand All @@ -36,6 +36,6 @@ repos:
types: [python]
require_serial: true
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.5.1'
rev: 'v1.10.0'
hooks:
- id: mypy
1 change: 1 addition & 0 deletions labnode_async/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The Python implementation for the Labnode API. It supports both :class:`~IPConnection` and :class:`~SerialConnection`.
"""

from ._version import __version__
from .ip_connection import IPConnection
from .pid_controller import FeedbackDirection, PidController
Expand Down
2 changes: 1 addition & 1 deletion labnode_async/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pylint: disable=missing-module-docstring
__version__ = "0.16.2"
__version__ = "0.16.3"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ markers = [
requires = [
"setuptools>=61.0",
"typing-extensions; python_version <'3.11'",
"cbor2",
"cbor2>=5.6.2",
"cobs",
"pyserial-asyncio",
]
Expand Down

0 comments on commit 90a4ff6

Please sign in to comment.