Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: tektronix/python-package-ci-cd/.github/workflows/[email protected]
with:
package-name: tm_devices
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13"]' # when updating this, make sure to update all workflows that use this strategy
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]' # when updating this, make sure to update all workflows that use this strategy # COMMENT TAG: Python version marker
operating-systems-array: '["ubuntu", "windows", "macos"]'
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }}
release-level: ${{ inputs.release-level }}
build-and-publish-python-package: true
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13"]' # when updating this, make sure to update all workflows that use this strategy
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]' # when updating this, make sure to update all workflows that use this strategy # COMMENT TAG: Python version marker
operating-systems-array: '["ubuntu", "windows", "macos"]'
previous-changelog-filepath: python_semantic_release_templates/.previous_changelog_for_template.md
previous-release-notes-filepath: python_semantic_release_templates/.previous_release_notes_for_template.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
repo-name: tektronix/tm_devices
operating-systems-array: '["ubuntu", "windows", "macos"]'
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13"]' # when updating this, make sure to update all workflows that use this strategy
python-versions-array: '["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]' # when updating this, make sure to update all workflows that use this strategy # COMMENT TAG: Python version marker
upload-to-codecov: true
enable-retry-os-array: '["macos"]'
secrets:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Valid subsections within a version are:

Things to be included in the next release go here.

### Added

- Added support for Python 3.14.

### Fixed

- Updated the `TekScope.curve_query()` method to properly create a csv file without any trailing commas that previously caused csv parsing issues.
Expand Down
116 changes: 58 additions & 58 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
beautifulsoup4==4.14.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
black==25.9.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
bracex==2.6 ; python_full_version >= "3.9.2" and python_version < "3.14"
certifi==2025.10.5 ; python_full_version >= "3.9.2" and python_version < "3.14"
charset-normalizer==3.4.4 ; python_full_version >= "3.9.2" and python_version < "3.14"
click==8.1.8 ; python_full_version >= "3.9.2" and python_version < "3.14"
codespell==2.4.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
colorama==0.4.6 ; python_full_version >= "3.9.2" and python_version < "3.14"
editdistpy==0.1.6 ; python_full_version >= "3.9.2" and python_version < "3.14"
editorconfig==0.17.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
ghp-import==2.1.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
griffe==1.14.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
hjson==3.1.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
idna==3.11 ; python_full_version >= "3.9.2" and python_version < "3.14"
beautifulsoup4==4.14.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
black==25.9.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
bracex==2.6 ; python_full_version >= "3.9.2" and python_version < "3.15"
certifi==2025.10.5 ; python_full_version >= "3.9.2" and python_version < "3.15"
charset-normalizer==3.4.4 ; python_full_version >= "3.9.2" and python_version < "3.15"
click==8.1.8 ; python_full_version >= "3.9.2" and python_version < "3.15"
codespell==2.4.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
colorama==0.4.6 ; python_full_version >= "3.9.2" and python_version < "3.15"
editdistpy==0.1.6 ; python_full_version >= "3.9.2" and python_version < "3.15"
editorconfig==0.17.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
ghp-import==2.1.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
griffe==1.14.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
hjson==3.1.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
idna==3.11 ; python_full_version >= "3.9.2" and python_version < "3.15"
importlib-metadata==8.7.0 ; python_full_version >= "3.9.2" and python_version < "3.10"
inflect==7.5.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
jinja2==3.1.6 ; python_full_version >= "3.9.2" and python_version < "3.14"
jsbeautifier==1.15.4 ; python_full_version >= "3.9.2" and python_version < "3.14"
markdown==3.9 ; python_full_version >= "3.9.2" and python_version < "3.14"
markupsafe==3.0.3 ; python_full_version >= "3.9.2" and python_version < "3.14"
mergedeep==1.3.4 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs==1.6.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-autorefs==1.4.3 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-ezglossary-plugin==2.1.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-gen-files==0.5.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-get-deps==0.2.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-include-markdown-plugin==7.2.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-literate-nav==0.6.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-macros-plugin==1.4.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-mermaid2-plugin==1.2.3 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-section-index==0.3.10 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocs-spellcheck==1.1.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocstrings==0.30.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
mkdocstrings-python==1.18.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
more-itertools==10.8.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
mypy-extensions==1.1.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
nodeenv==1.9.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
packaging==25.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
pathspec==0.12.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
platformdirs==4.4.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
pygments==2.19.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
pymdown-extensions==10.16.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
python-dateutil==2.9.0.post0 ; python_full_version >= "3.9.2" and python_version < "3.14"
pytokens==0.2.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
pyyaml==6.0.3 ; python_full_version >= "3.9.2" and python_version < "3.14"
pyyaml-env-tag==1.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
requests==2.32.5 ; python_full_version >= "3.9.2" and python_version < "3.14"
setuptools==80.9.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
six==1.17.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
soupsieve==2.8 ; python_full_version >= "3.9.2" and python_version < "3.14"
super-collections==0.6.2 ; python_full_version >= "3.9.2" and python_version < "3.14"
symspellpy==6.9.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
termcolor==3.1.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
tomli==2.3.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
typeguard==4.4.4 ; python_full_version >= "3.9.2" and python_version < "3.14"
typing-extensions==4.15.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
urllib3==2.5.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
watchdog==6.0.0 ; python_full_version >= "3.9.2" and python_version < "3.14"
wcmatch==10.1 ; python_full_version >= "3.9.2" and python_version < "3.14"
inflect==7.5.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
jinja2==3.1.6 ; python_full_version >= "3.9.2" and python_version < "3.15"
jsbeautifier==1.15.4 ; python_full_version >= "3.9.2" and python_version < "3.15"
markdown==3.9 ; python_full_version >= "3.9.2" and python_version < "3.15"
markupsafe==3.0.3 ; python_full_version >= "3.9.2" and python_version < "3.15"
mergedeep==1.3.4 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs==1.6.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-autorefs==1.4.3 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-ezglossary-plugin==2.1.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-gen-files==0.5.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-get-deps==0.2.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-include-markdown-plugin==7.2.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-literate-nav==0.6.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-macros-plugin==1.4.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-mermaid2-plugin==1.2.3 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-section-index==0.3.10 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocs-spellcheck==1.1.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocstrings==0.30.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
mkdocstrings-python==1.18.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
more-itertools==10.8.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
mypy-extensions==1.1.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
nodeenv==1.9.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
packaging==25.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
pathspec==0.12.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
platformdirs==4.4.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
pygments==2.19.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
pymdown-extensions==10.16.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
python-dateutil==2.9.0.post0 ; python_full_version >= "3.9.2" and python_version < "3.15"
pytokens==0.2.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
pyyaml==6.0.3 ; python_full_version >= "3.9.2" and python_version < "3.15"
pyyaml-env-tag==1.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
requests==2.32.5 ; python_full_version >= "3.9.2" and python_version < "3.15"
setuptools==80.9.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
six==1.17.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
soupsieve==2.8 ; python_full_version >= "3.9.2" and python_version < "3.15"
super-collections==0.6.2 ; python_full_version >= "3.9.2" and python_version < "3.15"
symspellpy==6.9.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
termcolor==3.1.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
tomli==2.3.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
typeguard==4.4.4 ; python_full_version >= "3.9.2" and python_version < "3.15"
typing-extensions==4.15.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
urllib3==2.5.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
watchdog==6.0.0 ; python_full_version >= "3.9.2" and python_version < "3.15"
wcmatch==10.1 ; python_full_version >= "3.9.2" and python_version < "3.15"
zipp==3.23.0 ; python_full_version >= "3.9.2" and python_version < "3.10"
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ libusb-package = "^1.0.26.0,!=1.0.26.2" # 1.0.26.2 doesn't work with Python 3.1
packaging = ">=24.0"
psutil = ">=6.0.0"
pyserial = "^3.5"
python = ">=3.9.2,<3.14" # This is the main Python version requirement
python = ">=3.9.2,<3.15" # COMMENT TAG: Python version marker
python-dateutil = "^2.8.2"
pyusb = "^1.2.1"
pyvicp = "^1.1.0"
Expand Down Expand Up @@ -114,7 +114,7 @@ pylint = [
{python = "~=3.9.2", version = "3.3.9"}, # TODO: Drop Python 3.9: remove this entry
{python = ">=3.10", version = "4.0.2"},
]
pyright = {extras = ["nodejs"], version = "1.1.406"}
pyright = {extras = ["nodejs"], version = "1.1.407"}
pyroma = "^5.0"
tox = "^4.0"
tox-gh-actions = "^3.1.0"
Expand Down Expand Up @@ -273,7 +273,7 @@ ignore = [
"temp_*.py",
]
pythonPlatform = "All"
pythonVersion = "3.9"
pythonVersion = "3.9" # COMMENT TAG: Python version marker
reportCallInDefaultInitializer = "error"
reportImplicitOverride = "none" # this check is not needed
reportImplicitStringConcatenation = "none" # this is allowed by this project's formatting standard
Expand Down Expand Up @@ -322,7 +322,7 @@ line-length = 100
namespace-packages = ["docs/**", "examples/**", "scripts/**", "tests/**"]
output-format = "concise"
src = ["docs", "examples", "scripts", "src", "tests"]
target-version = "py39" # always generate Python 3.9 compatible code
target-version = "py39" # COMMENT TAG: Python version marker

[tool.ruff.lint]
allowed-confusables = ["¸", "×"]
Expand Down Expand Up @@ -431,19 +431,20 @@ legacy_tox_ini = """
[tox]
requires = tox>4
isolated_build = True
envlist = py39,py310,py311,py312,py313,tests,docs,doctests
envlist = py39,py310,py311,py312,py313,py314,tests,docs,doctests # COMMENT TAG: Python version marker
skip_missing_interpreters = True
labels =
basic = py39,py310,py311,py312,py313,tests
basic = py39,py310,py311,py312,py313,py314,tests # COMMENT TAG: Python version marker
documentation = docs,doctests

[gh-actions]
python =
python = # COMMENT TAG: Python version marker
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314

[testenv]
package = wheel
Expand Down
2 changes: 1 addition & 1 deletion src/tm_devices/helpers/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def get_visa_backend(visa_lib_path: str) -> str:
for (
visa_implementation_name,
visa_implementation_details,
) in visa_implementation_dict.items():
) in visa_implementation_dict.items(): # pragma: no cover
if visa_lib_path in visa_implementation_name:
vendor = visa_implementation_details["Vendor"]
visa_name = "NI-VISA" if "National Instruments" in vendor else f"{vendor} VISA"
Expand Down
Loading
Loading