Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-deps(deps): bump the python-dependencies group across 1 directory with 30 updates #58

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Updates the requirements on poetry-pre-commit-plugin, tm-devices, pygments, pymdown-extensions, psutil, certifi, charset-normalizer, click, editorconfig, inflect, markupsafe, mkdocs-autorefs, more-itertools, setuptools, six, termcolor, typeguard, urllib3, watchdog, coverage[toml], dataproperty, dnspython, mbstrdecoder, networkx, pathvalidate, pytablewriter, tabledata, tcolorpy, typepy and typepy[datetime] to permit the latest version.
Updates poetry-pre-commit-plugin to 0.2.1

Release notes

Sourced from poetry-pre-commit-plugin's releases.

0.2.1

What's Changed

Full Changelog: vstrimaitis/poetry-pre-commit-plugin@0.1.2...0.2.1

Commits

Updates tm-devices to 3.0.0

Release notes

Sourced from tm-devices's releases.

v3.0.0 (2025-01-13)

Merged Pull Requests

  • feat: added fast acq support for the mso2 model. (#368)
  • python-deps(deps-dev): update ruff requirement from 0.8.4 to 0.8.6 in the python-dependencies group (#366)
  • gh-actions(deps): bump tektronix/python-package-ci-cd (#346)
  • fix: updated get_buffers() with logic to handle empty buffer (#364)
  • python-deps(deps-dev): bump the python-dependencies group with 2 updates (#347)
  • fix: allow empty returns from tsp_device.get_buffers() (#362)
  • python-deps(deps-dev): update ruff requirement from 0.8.2 to 0.8.3 in the python-dependencies group (#361)
  • docs: Remove section of contribution guide that duplicates a later section (#358)
  • python-deps(deps-dev): update ruff requirement from 0.7.4 to 0.8.0 in the python-dependencies group (#355)
  • fix: Fix the documentation to not show the mermaid tooltip clipping at the top of each page with an inheritance diagram (#354)
  • chore: Remove unused env var from .readthedocs.yml (#353)
  • Enable pawamoy insiders docs features (#352)
  • feat: Added Full python API support for MDO3 model. (#349)
  • python-deps(deps-dev): update ruff requirement from 0.7.3 to 0.7.4 in the python-dependencies group (#351)
  • Use logging module instead of prints (#345)
  • chore: Update pyright dependency and use more reliable method of installing local nodejs for it (#344)
  • python-deps(deps-dev): update ruff requirement from 0.7.1 to 0.7.2 in the python-dependencies group (#343)
  • Add screen capture functionality for TekScope device driver family (#342)
  • Refactor the internal package structure and change how driver classes inherit functionality (#333)
  • python-deps(deps): bump the python-dependencies group with 3 updates (#341)

Added

  • Added a new mixin, ScreenCaptureMixin, that defines methods/properties used for capturing screenshots from devices.
  • Added screen capture capabilities to the TekScope family of device drivers.
  • Testing/linting on Python 3.13.
  • Added the get_errors() method to the Device class to enable easy access to the current error code and messages on any device.
  • Added more details to the Architectural Overview page of the documentation as well as highlighting to the device driver diagram on the page.
  • Added regex matching to the verify_values() helper function to allow for more flexible value verification.
  • A main logfile is now created by default (can be disabled if desired) that contains all the logging output of the entire tm_devices package during execution.
    • Use the configure_logging() function to set the logging levels for stdout and file logging.
    • The default settings will log all messages to the log file and maintain the current printout functionality on stdout.
  • A logfile is now created that contains each command sent to a VISA device.
    • This file is located next to the main log file and will start with the same name, but have the unique address of the device appended.
    • This file will only be created if file logging is enabled for the package (which is the default behavior).
  • Full Python API support for the MDO3 model.
  • Added fast acquisition command support for the MSO2 model.

Changed

NOTE: Despite all the officially breaking changes, the actual drivers were only affected in very minor ways. The primary impact to the drivers was simply the removal of previously deprecated functionality. Almost all changes only impacted the internal workings of tm_devices. However, please read through all changes to be aware of what may potentially impact your code.

  • minor breaking change: Moved SignalGenerator class to the driver_mixins submodule and renamed it to _TektronixPIAFGAWGMixin (also made it a private mixin).

... (truncated)

Changelog

Sourced from tm-devices's changelog.

v3.0.0 (2025-01-13)

Merged Pull Requests

  • feat: added fast acq support for the mso2 model. (#368)
  • python-deps(deps-dev): update ruff requirement from 0.8.4 to 0.8.6 in the python-dependencies group (#366)
  • gh-actions(deps): bump tektronix/python-package-ci-cd (#346)
  • fix: updated get_buffers() with logic to handle empty buffer (#364)
  • python-deps(deps-dev): bump the python-dependencies group with 2 updates (#347)
  • fix: allow empty returns from tsp_device.get_buffers() (#362)
  • python-deps(deps-dev): update ruff requirement from 0.8.2 to 0.8.3 in the python-dependencies group (#361)
  • docs: Remove section of contribution guide that duplicates a later section (#358)
  • python-deps(deps-dev): update ruff requirement from 0.7.4 to 0.8.0 in the python-dependencies group (#355)
  • fix: Fix the documentation to not show the mermaid tooltip clipping at the top of each page with an inheritance diagram (#354)
  • chore: Remove unused env var from .readthedocs.yml (#353)
  • Enable pawamoy insiders docs features (#352)
  • feat: Added Full python API support for MDO3 model. (#349)
  • python-deps(deps-dev): update ruff requirement from 0.7.3 to 0.7.4 in the python-dependencies group (#351)
  • Use logging module instead of prints (#345)
  • chore: Update pyright dependency and use more reliable method of installing local nodejs for it (#344)
  • python-deps(deps-dev): update ruff requirement from 0.7.1 to 0.7.2 in the python-dependencies group (#343)
  • Add screen capture functionality for TekScope device driver family (#342)
  • Refactor the internal package structure and change how driver classes inherit functionality (#333)
  • python-deps(deps): bump the python-dependencies group with 3 updates (#341)

Added

  • Added a new mixin, ScreenCaptureMixin, that defines methods/properties used for capturing screenshots from devices.
  • Added screen capture capabilities to the TekScope family of device drivers.
  • Testing/linting on Python 3.13.
  • Added the get_errors() method to the Device class to enable easy access to the current error code and messages on any device.
  • Added more details to the Architectural Overview page of the documentation as well as highlighting to the device driver diagram on the page.
  • Added regex matching to the verify_values() helper function to allow for more flexible value verification.
  • A main logfile is now created by default (can be disabled if desired) that contains all the logging output of the entire tm_devices package during execution.
    • Use the configure_logging() function to set the logging levels for stdout and file logging.
    • The default settings will log all messages to the log file and maintain the current printout functionality on stdout.
  • A logfile is now created that contains each command sent to a VISA device.
    • This file is located next to the main log file and will start with the same name, but have the unique address of the device appended.
    • This file will only be created if file logging is enabled for the package (which is the default behavior).
  • Full Python API support for the MDO3 model.
  • Added fast acquisition command support for the MSO2 model.

Changed

NOTE: Despite all the officially breaking changes, the actual drivers were only affected in very minor ways. The primary impact to the drivers was simply the removal of previously deprecated functionality. Almost all changes only impacted the internal workings of tm_devices. However, please read through all changes to be aware of what may potentially impact your code.

  • minor breaking change: Moved SignalGenerator class to the driver_mixins submodule and renamed it to _TektronixPIAFGAWGMixin (also made it a private mixin).

... (truncated)

Commits
  • be72562 3.0.0
  • 85eb9a3 feat: added fast acq support for the mso2 model. (#368)
  • 9c53be5 python-deps(deps-dev): update ruff requirement from 0.8.4 to 0.8.6 in the pyt...
  • 4151bd4 gh-actions(deps): bump tektronix/python-package-ci-cd (#365)
  • 9f737f9 fix: updated get_buffers() with logic to handle empty buffer (#364)
  • 628b710 python-deps(deps-dev): bump the python-dependencies group with 2 updates (#363)
  • f88d2e7 fix: allow empty returns from tsp_device.get_buffers() (#362)
  • 2b75108 python-deps(deps-dev): update ruff requirement from 0.8.2 to 0.8.3 in the pyt...
  • a1d3b01 gh-actions(deps): bump tektronix/python-package-ci-cd (#359)
  • 91bc624 python-deps(deps-dev): bump the python-dependencies group with 2 updates (#360)
  • Additional commits viewable in compare view

Updates pygments from 2.18.0 to 2.19.1

Release notes

Sourced from pygments's releases.

2.19.1

  • Updated lexers:

    • Ini: Fix quoted string regression introduced in 2.19.0
    • Lua: Fix a regression introduced in 2.19.0

2.19.0

  • New lexers:

  • Updated lexers:

    • BQN: Various improvements (#2789)
    • C#: Fix number highlighting (#986, #2727), add file keyword (#2726, #2805, #2806), add various other keywords (#2745, #2770)
    • CSS: Add revert (#2766, #2775)
    • Debian control: Add Change-By field (#2757)
    • Elip: Improve punctuation handling (#2651)
    • Igor: Add int (#2801)
    • Ini: Fix quoted strings with embedded comment characters (#2767, #2720)
    • Java: Support functions returning types containing a question mark (#2737)
    • JavaScript: Support private identiiers (#2729, #2671)
    • LLVM: Add splat, improve floating-point number parsing (#2755)
    • Lua: Improve variable detection, add built-in functions (#2829)
    • Macaulay2: Update to 1.24.11 (#2800)
    • PostgreSQL: Add more EXPLAIN keywords (#2785), handle / (#2774)
    • S-Lexer: Fix keywords (#2082, #2750)
    • TransactSQL: Fix single-line comments (#2717)
    • Turtle: Fix triple quoted strings (#2744, #2758)
    • Typst: Various improvements (#2724)
    • Various: Add ^ as an operator to Matlab, Octave and Scilab (#2798)
    • Vyper: Add staticcall and extcall (#2719)
  • Mark file extensions for HTML/XML+Evoque as aliases (#2743)
  • Add a color for Operator.Word to the rrt style (#2709)
  • Fix broken link in the documentation (#2803, #2804)
  • Drop executable bit where not needed (#2781)
  • Reduce Mojo priority relative to Python in ``analyze_text´` (#2771, #2772)
  • Fix documentation builds (#2712)
  • Match example file names to the lexer's name (#2713, #2715)

... (truncated)

Changelog

Sourced from pygments's changelog.

Version 2.19.1

(released January 6th, 2025)

  • Updated lexers:

    • Ini: Fix quoted string regression introduced in 2.19.0
    • Lua: Fix a regression introduced in 2.19.0

Version 2.19.0

(released January 5th, 2025)

  • New lexers:

  • Updated lexers:

    • BQN: Various improvements (#2789)
    • C#: Fix number highlighting (#986, #2727), add file keyword (#2726, #2805, #2806), add various other keywords (#2745, #2770)
    • CSS: Add revert (#2766, #2775)
    • Debian control: Add Change-By field (#2757)
    • Elip: Improve punctuation handling (#2651)
    • Igor: Add int (#2801)
    • Ini: Fix quoted strings with embedded comment characters (#2767, #2720)
    • Java: Support functions returning types containing a question mark (#2737)
    • JavaScript: Support private identiiers (#2729, #2671)
    • LLVM: Add splat, improve floating-point number parsing (#2755)
    • Lua: Improve variable detection, add built-in functions (#2829)
    • Macaulay2: Update to 1.24.11 (#2800)
    • PostgreSQL: Add more EXPLAIN keywords (#2785), handle / (#2774)
    • S-Lexer: Fix keywords (#2082, #2750)
    • TransactSQL: Fix single-line comments (#2717)
    • Turtle: Fix triple quoted strings (#2744, #2758)
    • Typst: Various improvements (#2724)
    • Various: Add ^ as an operator to Matlab, Octave and Scilab (#2798)
    • Vyper: Add staticcall and extcall (#2719)
  • Mark file extensions for HTML/XML+Evoque as aliases (#2743)

... (truncated)

Commits

Updates pymdown-extensions from 10.12 to 10.14

Release notes

Sourced from pymdown-extensions's releases.

10.14

  • NEW: Blocks.HTML: Add new custom option to specify tags and the assumed handling for them when automatic mode is assumed. This can also be used to override the handling for recognized tags with automatic handling.
  • FIX: Fix tests to pass with Pygments 2.19+.

10.13

  • NEW: Snippets: Allow multiple line numbers or line number blocks separated by ,.
  • NEW: Snippets: Allow using a negative index for number start indexes and end indexes. Negative indexes are converted to positive indexes based on the number of lines in the snippet.
  • FIX: Snippets: Properly capture empty newline at end of file.
  • FIX: Snippets: Fix issue where when non sections of files are included, section labels are not stripped.
  • FIX: BetterEm: Fixes for complex cases.
  • FIX: Blocks: More consistent handling of empty newlines in block processor extensions.
Commits

Updates psutil from 6.1.0 to 6.1.1

Changelog

Sourced from psutil's changelog.

6.1.1

2024-12-19

Enhancements

  • 2471_: use Vulture CLI tool to detect dead code.

Bug fixes

  • 2418_, [Linux]: fix race condition in case /proc/PID/stat does not exist, but /proc/PID does, resulting in FileNotFoundError.
  • 2470_, [Linux]: users()_ may return "localhost" instead of the actual IP address of the user logged in.
Commits
  • 58552f6 Merge branch 'master' of github.com:giampaolo/psutil
  • 4ba6ad0 ruff: enable PLR5501 (Use elif instead of else then if, to reduce inden...
  • 1a63407 use a set literal when testing for membership
  • 8162905 disable flafy test + pre-release
  • 1f3458b try to fix some flaky tests 2
  • c0e1eb1 try to fix some flaky tests 2
  • 45934bb try to fix some flaky tests
  • 560c524 chore: bump cibuildwheel to 2.22.0, move to macos-13 (#2479)
  • b5ea67e fix winmake.py test-parallel
  • 13a336b fix #2418 / Linux: fix race condition
  • Additional commits viewable in compare view

Updates certifi from 2024.8.30 to 2024.12.14

Commits
  • 4ba3900 2024.12.14 (#329)
  • 9164660 Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#331)
  • 3dc3651 Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 (#328)
  • c5bf18d Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#327)
  • b908391 Bump actions/setup-python from 5.2.0 to 5.3.0 (#326)
  • bc26b41 Bump actions/checkout from 4.2.1 to 4.2.2 (#325)
  • 57afc22 Bump actions/upload-artifact from 4.4.1 to 4.4.3 (#323)
  • a495091 test against 3.13 final
  • 62f8144 Added 3.13 classifier (#322)
  • 94d23a0 Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 (#321)
  • Additional commits viewable in compare view

Updates charset-normalizer from 3.4.0 to 3.4.1

Release notes

Sourced from charset-normalizer's releases.

Version 3.4.1

🚀 We're still raising awareness around HTTP/2, and HTTP/3!

Did you know that Internet Explorer 11 shipped with an optional HTTP/2 support back in 2013? also libcurl did ship it in 2014[...] Using Requests today is the rough equivalent of using EOL Windows 8! We promptly invite Python developers to look at the first drop-in replacement for Requests, namely Niquests. Ship with native WebSocket, SSE, Happy Eyeballs, DNS over HTTPS, and so on[...] All of this while remaining compatible with all Requests prior plug-ins / add-ons.

It leverages charset-normalizer in a better way! Check it out, you will gain up to being 3X faster and get a real/respectable support with it.

3.4.1 (2024-12-24)

Changed

  • Project metadata are now stored using pyproject.toml instead of setup.cfg using setuptools as the build backend.
  • Enforce annotation delayed loading for a simpler and consistent types in the project.
  • Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8

Added

  • pre-commit configuration.
  • noxfile.

Removed

  • build-requirements.txt as per using pyproject.toml native build configuration.
  • bin/integration.py and bin/serve.py in favor of downstream integration test (see noxfile).
  • setup.cfg in favor of pyproject.toml metadata configuration.
  • Unused utils.range_scan function.

Fixed

  • Converting content to Unicode bytes may insert utf_8 instead of preferred utf-8. (#572)
  • Deprecation warning "'count' is passed as positional argument" when converting to Unicode bytes on Python 3.13+
Changelog

Sourced from charset-normalizer's changelog.

3.4.1 (2024-12-24)

Changed

  • Project metadata are now stored using pyproject.toml instead of setup.cfg using setuptools as the build backend.
  • Enforce annotation delayed loading for a simpler and consistent types in the project.
  • Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8

Added

  • pre-commit configuration.
  • noxfile.

Removed

  • build-requirements.txt as per using pyproject.toml native build configuration.
  • bin/integration.py and bin/serve.py in favor of downstream integration test (see noxfile).
  • setup.cfg in favor of pyproject.toml metadata configuration.
  • Unused utils.range_scan function.

Fixed

  • Converting content to Unicode bytes may insert utf_8 instead of preferred utf-8. (#572)
  • Deprecation warning "'count' is passed as positional argument" when converting to Unicode bytes on Python 3.13+
Commits
  • ffdf7f5 🔧 fix long description content-type inferred as rst instead of md
  • c7197b7 📝 fix changelog entries (#582)
  • c390e1f Merge pull request #581 from jawah/refresh-part-2
  • f9d6b8c 🔒 add CODEOWNERS
  • 7ce1ef1 🔧 use ubuntu-22.04 for cibuildwheel in continuous deployment workflow
  • deed205 🔧 update LICENSE copyright
  • f11f571 🔧 include noxfile in sdist
  • 1ec7c06 🔧 update changelog
  • 14b4649 🐛 output(...) replace declarative mark using non iana compliant encoding ...
  • 1b06bc0 Merge branch 'refresh-part-2' of github.com:jawah/charset_normalizer into ref...
  • Additional commits viewable in compare view

Updates click from 8.1.7 to 8.1.8

Release notes

Sourced from click's releases.

8.1.8

This is the Click 8.1.8 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/click/8.1.8/ Changes: https://click.palletsprojects.com/en/stable/changes/#version-8-1-8 Milestone https://github.com/pallets/click/milestones/23?closed=1

  • Fix an issue with type hints for click.open_file(). #2717
  • Fix issue where error message for invalid click.Path displays on multiple lines. #2697
  • Fixed issue that prevented a default value of "" from being displayed in the help for an option. #2500
  • The test runner handles stripping color consistently on Windows. #2705
  • Show correct value for flag default when using default_map. #2632
  • Fix click.echo(color=...) passing color to coloroma so it can be forced on Windows. #2606.
  • More robust bash version check, fixing problem on Windows with git-bash. #2638
  • Cache the help option generated by the help_option_names setting to respect its eagerness. #2811
  • Replace uses of os.system with subprocess.Popen. #1476
  • Exceptions generated during a command will use the context's color setting when being displayed. #2193
  • Error message when defining option with invalid name is more descriptive. #2452
  • Refactor code generating default --help option to deduplicate code. #2563
  • Test CLIRunner resets patched _compat.should_strip_ansi. #2732
Changelog

Sourced from click's changelog.

Version 8.1.8

Unreleased

  • Fix an issue with type hints for click.open_file(). :issue:2717
  • Fix issue where error message for invalid click.Path displays on multiple lines. :issue:2697
  • Fixed issue that prevented a default value of "" from being displayed in the help for an option. :issue:2500
  • The test runner handles stripping color consistently on Windows. :issue:2705
  • Show correct value for flag default when using default_map. :issue:2632
  • Fix click.echo(color=...) passing color to coloroma so it can be forced on Windows. :issue:2606.
Commits

Updates editorconfig from 0.12.4 to 0.17.0

Commits

Updates inflect from 7.4.0 to 7.5.0

Changelog

Sourced from inflect's changelog.

v7.5.0

Features

  • Updated ast classes for Python 3.14 compatibility. (#225)
Commits

Updates markupsafe from 2.1.5 to 3.0.2

Release notes

Sourced from markupsafe's releases.

3.0.2

This is the MarkupSafe 3.0.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes.

PyPI: https://pypi.org/project/MarkupSafe/3.0.2/ Changes: https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-2 Milestone: https://github.com/pallets/markupsafe/milestone/14?closed=1

  • Fix compatibility when __str__ returns a str subclass. #472
  • Build requires setuptools >= 70.1. #475

3.0.1

This is the MarkupSafe 3.0.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes.

PyPI: https://pypi.org/project/MarkupSafe/3.0.1/ Changes: https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-1 Milestone: https://github.com/pallets/markupsafe/milestone/13?closed=1

  • Address compiler warnings that became errors in GCC 14. #466
  • Fix compatibility with proxy objects. #467

3.0.0

This is the MarkupSafe 3.0.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. The 3.0.x branch is now the supported fix branch, the 2.1.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.

PyPI: https://pypi.org/project/MarkupSafe/3.0.0/ Changes: https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-0 Milestone: https://github.com/pallets/markupsafe/milestone/10?closed=1

  • Support Python 3.13 and its experimental free-threaded build. #461
  • Drop support for Python 3.7 and 3.8.
  • Use modern packaging metadata with pyproject.toml instead of setup.cfg. #348
  • Change distutils imports to setuptools. #399
  • Use deferred evaluation of annotations. #400
  • Update signatures for Markup methods to match str signatures. Use positional-only arguments. #400
  • Some str methods on Markup no longer escape their argument: strip, lstrip, rstrip, removeprefix, removesuffix, partition, and rpartition; replace only escapes its new argument. These methods are conceptually linked to search methods such as in, find, and index, which already do not escape their argument. #401
  • The __version__ attribute is deprecated. Use feature detection, or importlib.metadata.version("markupsafe"), instead. #402
  • Speed up escaping plain strings by 40%. #434
  • Simplify speedups implementation. #437
Changelog

Sourced from markupsafe's changelog.

Version 3.0.2

Released 2024-10-18

  • Fix compatibility when __str__ returns a str subclass. :issue:472
  • Build requires setuptools >= 70.1. :issue:475

Version 3.0.1

Released 2024-10-08

  • Address compiler warnings that became errors in GCC 14. :issue:466
  • Fix compatibility with proxy objects. :issue:467

Version 3.0.0

Released 2024-10-07

  • Support Python 3.13 and its experimental free-threaded build. :pr:461
  • Drop support for Python 3.7 and 3.8.
  • Use modern packaging metadata with pyproject.toml instead of setup.cfg. :pr:348
  • Change distutils imports to setuptools. :pr:399
  • Use deferred evaluation of annotations. :pr:400
  • Update signatures for Markup methods to match str signatures. Use positional-only arguments. :pr:400
  • Some str methods on Markup no longer escape their argument: strip, lstrip, rstrip, removeprefix, removesuffix, partition, and rpartition; replace only escapes its new argument. These methods are conceptually linked to search methods such as in, find, and index, which already do not escape their argument. :issue:401
  • The __version__ attribute...

    Description has been truncated

…ory with 30 updates

Updates the requirements on [poetry-pre-commit-plugin](https://github.com/vstrimaitis/poetry-pre-commit-plugin), [tm-devices](https://github.com/tektronix/tm_devices), [pygments](https://github.com/pygments/pygments), [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions), [psutil](https://github.com/giampaolo/psutil), [certifi](https://github.com/certifi/python-certifi), [charset-normalizer](https://github.com/jawah/charset_normalizer), [click](https://github.com/pallets/click), [editorconfig](https://github.com/editorconfig/editorconfig-core-py), [inflect](https://github.com/jaraco/inflect), [markupsafe](https://github.com/pallets/markupsafe), [mkdocs-autorefs](https://github.com/mkdocstrings/autorefs), [more-itertools](https://github.com/more-itertools/more-itertools), [setuptools](https://github.com/pypa/setuptools), [six](https://github.com/benjaminp/six), [termcolor](https://github.com/termcolor/termcolor), [typeguard](https://github.com/agronholm/typeguard), [urllib3](https://github.com/urllib3/urllib3), [watchdog](https://github.com/gorakhargosh/watchdog), [coverage[toml]](https://github.com/nedbat/coveragepy), [dataproperty](https://github.com/thombashi/DataProperty), [dnspython](https://github.com/rthalley/dnspython), [mbstrdecoder](https://github.com/thombashi/mbstrdecoder), [networkx](https://github.com/networkx/networkx), [pathvalidate](https://github.com/thombashi/pathvalidate), [pytablewriter](https://github.com/thombashi/pytablewriter), [tabledata](https://github.com/thombashi/tabledata), [tcolorpy](https://github.com/thombashi/tcolorpy), [typepy](https://github.com/thombashi/typepy) and [typepy[datetime]](https://github.com/thombashi/typepy) to permit the latest version.

Updates `poetry-pre-commit-plugin` to 0.2.1
- [Release notes](https://github.com/vstrimaitis/poetry-pre-commit-plugin/releases)
- [Commits](vstrimaitis/poetry-pre-commit-plugin@0.1.2...0.2.1)

Updates `tm-devices` to 3.0.0
- [Release notes](https://github.com/tektronix/tm_devices/releases)
- [Changelog](https://github.com/tektronix/tm_devices/blob/main/CHANGELOG.md)
- [Commits](tektronix/tm_devices@v2.3.0...v3.0.0)

Updates `pygments` from 2.18.0 to 2.19.1
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.18.0...2.19.1)

Updates `pymdown-extensions` from 10.12 to 10.14
- [Release notes](https://github.com/facelessuser/pymdown-extensions/releases)
- [Commits](facelessuser/pymdown-extensions@10.12...10.14)

Updates `psutil` from 6.1.0 to 6.1.1
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](giampaolo/psutil@release-6.1.0...release-6.1.1)

Updates `certifi` from 2024.8.30 to 2024.12.14
- [Commits](certifi/python-certifi@2024.08.30...2024.12.14)

Updates `charset-normalizer` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/jawah/charset_normalizer/releases)
- [Changelog](https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](jawah/charset_normalizer@3.4.0...3.4.1)

Updates `click` from 8.1.7 to 8.1.8
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.1.7...8.1.8)

Updates `editorconfig` from 0.12.4 to 0.17.0
- [Commits](editorconfig/editorconfig-core-py@v0.12.4...v0.17.0)

Updates `inflect` from 7.4.0 to 7.5.0
- [Release notes](https://github.com/jaraco/inflect/releases)
- [Changelog](https://github.com/jaraco/inflect/blob/main/NEWS.rst)
- [Commits](jaraco/inflect@v7.4.0...v7.5.0)

Updates `markupsafe` from 2.1.5 to 3.0.2
- [Release notes](https://github.com/pallets/markupsafe/releases)
- [Changelog](https://github.com/pallets/markupsafe/blob/main/CHANGES.rst)
- [Commits](pallets/markupsafe@2.1.5...3.0.2)

Updates `mkdocs-autorefs` from 1.2.0 to 1.3.0
- [Release notes](https://github.com/mkdocstrings/autorefs/releases)
- [Changelog](https://github.com/mkdocstrings/autorefs/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/autorefs@1.2.0...1.3.0)

Updates `more-itertools` from 10.5.0 to 10.6.0
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](more-itertools/more-itertools@v10.5.0...v10.6.0)

Updates `setuptools` from 75.3.0 to 75.8.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v75.3.0...v75.8.0)

Updates `six` from 1.16.0 to 1.17.0
- [Changelog](https://github.com/benjaminp/six/blob/main/CHANGES)
- [Commits](benjaminp/six@1.16.0...1.17.0)

Updates `termcolor` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/termcolor/termcolor/releases)
- [Changelog](https://github.com/termcolor/termcolor/blob/main/CHANGES.md)
- [Commits](termcolor/termcolor@2.4.0...2.5.0)

Updates `typeguard` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@4.4.0...4.4.1)

Updates `urllib3` from 2.2.3 to 2.3.0
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.2.3...2.3.0)

Updates `watchdog` from 4.0.2 to 6.0.0
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](gorakhargosh/watchdog@v4.0.2...v6.0.0)

Updates `coverage[toml]` from 7.6.1 to 7.6.10
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.1...7.6.10)

Updates `dataproperty` from 1.0.1 to 1.1.0
- [Release notes](https://github.com/thombashi/DataProperty/releases)
- [Commits](thombashi/DataProperty@v1.0.1...v1.1.0)

Updates `dnspython` from 2.6.1 to 2.7.0
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](rthalley/dnspython@v2.6.1...v2.7.0)

Updates `mbstrdecoder` from 1.1.3 to 1.1.4
- [Release notes](https://github.com/thombashi/mbstrdecoder/releases)
- [Commits](thombashi/mbstrdecoder@v1.1.3...v1.1.4)

Updates `networkx` from 3.1 to 3.4.2
- [Release notes](https://github.com/networkx/networkx/releases)
- [Commits](networkx/networkx@networkx-3.1...networkx-3.4.2)

Updates `pathvalidate` from 3.2.1 to 3.2.3
- [Release notes](https://github.com/thombashi/pathvalidate/releases)
- [Changelog](https://github.com/thombashi/pathvalidate/blob/master/CHANGELOG.md)
- [Commits](thombashi/pathvalidate@v3.2.1...v3.2.3)

Updates `pytablewriter` from 1.2.0 to 1.2.1
- [Release notes](https://github.com/thombashi/pytablewriter/releases)
- [Changelog](https://github.com/thombashi/pytablewriter/blob/master/CHANGELOG.md)
- [Commits](thombashi/pytablewriter@v1.2.0...v1.2.1)

Updates `tabledata` from 1.3.3 to 1.3.4
- [Release notes](https://github.com/thombashi/tabledata/releases)
- [Commits](thombashi/tabledata@v1.3.3...v1.3.4)

Updates `tcolorpy` from 0.1.6 to 0.1.7
- [Release notes](https://github.com/thombashi/tcolorpy/releases)
- [Changelog](https://github.com/thombashi/tcolorpy/blob/master/CHANGELOG.md)
- [Commits](thombashi/tcolorpy@v0.1.6...v0.1.7)

Updates `typepy` from 1.3.2 to 1.3.4
- [Release notes](https://github.com/thombashi/typepy/releases)
- [Commits](thombashi/typepy@v1.3.2...v1.3.4)

Updates `typepy[datetime]` from 1.3.2 to 1.3.4
- [Release notes](https://github.com/thombashi/typepy/releases)
- [Commits](thombashi/typepy@v1.3.2...v1.3.4)

---
updated-dependencies:
- dependency-name: poetry-pre-commit-plugin
  dependency-type: direct:development
  dependency-group: python-dependencies
- dependency-name: tm-devices
  dependency-type: direct:development
  dependency-group: python-dependencies
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: pymdown-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: charset-normalizer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: editorconfig
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: inflect
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: markupsafe
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-dependencies
- dependency-name: mkdocs-autorefs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: more-itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: six
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: termcolor
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: typeguard
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: watchdog
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-dependencies
- dependency-name: coverage[toml]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: dataproperty
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: dnspython
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: mbstrdecoder
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: networkx
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: pathvalidate
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pytablewriter
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: tabledata
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: tcolorpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: typepy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: typepy[datetime]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner January 20, 2025 13:06
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.72%. Comparing base (2b16c70) to head (c077e97).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   80.72%   80.72%           
=======================================
  Files           3        3           
  Lines         524      524           
  Branches       94       94           
=======================================
  Hits          423      423           
  Misses         82       82           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jan 20, 2025

Test Results (windows)

path passed subtotal
tests\test_client.py 62 62
tests\test_logging.py 3 3
TOTAL 65 65

Link to workflow run

Copy link

github-actions bot commented Jan 20, 2025

Test Results (macos)

path passed subtotal
tests/test_client.py 62 62
tests/test_logging.py 3 3
TOTAL 65 65

Link to workflow run

Copy link

github-actions bot commented Jan 20, 2025

Test Results (ubuntu)

path passed failed subtotal
tests/test_client.py 61 1 62
tests/test_logging.py 3 3
TOTAL 64 1 65
tests/test_client.py
tekhsi_client = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>
capsys = <_pytest.capture.CaptureFixture object at 0x7f7a18b91a00>
instrument = True, sum_count = 5, sum_acq_time = 10.0, sum_data_rate = 50.0
expected_output = 'Average Update Rate:0.50, Data Rate:10.00Mbs'

    @pytest.mark.parametrize(
        ("instrument", "sum_count", "sum_acq_time", "sum_data_rate", "expected_output"),
        [
            (True, 5, 10.0, 50.0, "Average Update Rate:0.50, Data Rate:10.00Mbs"),
        ],
    )
    def test_server_connection(
        tekhsi_client: TekHSIConnect,
        capsys: pytest.CaptureFixture[str],
        instrument: bool,
        sum_count: int,
        sum_acq_time: float,
        sum_data_rate: float,
        expected_output: str,
    ) -> None:
        """Test the server connection using the TekHSI client.
    
        Args:
            tekhsi_client: An instance of the TekHSI client to be tested.
            capsys (CaptureFixture): Pytest fixture to capture system output.
            instrument: Whether the instrument is connected.
            sum_count: The sum count.
            sum_acq_time: The sum acquisition time.
            sum_data_rate: The sum data rate.
            expected_output: The expected output message.
        """
        # Set the required attributes
        tekhsi_client._instrument = instrument
        tekhsi_client._sum_count = sum_count
        tekhsi_client._sum_acq_time = sum_acq_time
        tekhsi_client._sum_data_rate = sum_data_rate
    
        # Set the verbose attribute to True
        tekhsi_client.verbose = True
        # Use the context manager to handle connection
>       with tekhsi_client as connection:

capsys     = <_pytest.capture.CaptureFixture object at 0x7f7a18b91a00>
captured   = CaptureResult(out='2025-01-20 13:09:53.000222 - enter()\n', err='')
connection = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>
expected_output = 'Average Update Rate:0.50, Data Rate:10.00Mbs'
instrument = True
request    = name: "test_client"

response   = status: CONNECTSTATUS_SUCCESS

sum_acq_time = 10.0
sum_count  = 5
sum_data_rate = 50.0
tekhsi_client = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>

tests/test_client.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/tests/lib/python3.12/site-packages/tekhsi/tek_hsi_connect.py:211: in __exit__
    self.close()
        exc_tb     = None
        exc_type   = None
        exc_val    = None
        self       = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>
.tox/tests/lib/python3.12/site-packages/tekhsi/tek_hsi_connect.py:443: in close
    self.force_sequence()
        self       = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>
.tox/tests/lib/python3.12/site-packages/tekhsi/tek_hsi_connect.py:500: in force_sequence
    self.connection.RequestNewSequence(request)
        request    = name: "95ddc8e9-4a07-4eef-85e4-352dfbf05461"

        self       = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7a18c9fe90>
.tox/tests/lib/python3.12/site-packages/grpc/_channel.py:1181: in __call__
    return _end_unary_response_blocking(state, call, False, None)
        call       = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7a18a45540>
        compression = None
        credentials = None
        metadata   = None
        request    = name: "95ddc8e9-4a07-4eef-85e4-352dfbf05461"

        self       = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f7a189e9e10>
        state      = <grpc._channel._RPCState object at 0x7f7a18b920f0>
        timeout    = None
        wait_for_ready = None
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

state = <grpc._channel._RPCState object at 0x7f7a18b920f0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7a18a45540>
with_call = False, deadline = None

    def _end_unary_response_blocking(
        state: _RPCState,
        call: cygrpc.SegregatedCall,
        with_call: bool,
        deadline: Optional[float],
    ) -> Union[ResponseType, Tuple[ResponseType, grpc.Call]]:
        if state.code is grpc.StatusCode.OK:
            if with_call:
                rendezvous = _MultiThreadedRendezvous(state, call, None, deadline)
                return state.response, rendezvous
            else:
                return state.response
        else:
>           raise _InactiveRpcError(state)  # pytype: disable=not-instantiable
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E           	status = StatusCode.FAILED_PRECONDITION
E           	details = ""
E           	debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B::1%5D:50312 {grpc_message:"", grpc_status:9, created_time:"2025-01-20T13:09:53.229371894+00:00"}"
E           >

call       = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7a18a45540>
deadline   = None
state      = <grpc._channel._RPCState object at 0x7f7a18b920f0>
with_call  = False

.tox/tests/lib/python3.12/site-packages/grpc/_channel.py:1006: _InactiveRpcError

Link to workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants