-
Notifications
You must be signed in to change notification settings - Fork 6
build(deps): bump urllib3 from 2.2.3 to 2.6.0 in /docs #114
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
Open
dependabot
wants to merge
2
commits into
main
Choose a base branch
from
dependabot/pip/docs/urllib3-2.6.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.3 to 2.6.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.6.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #114 +/- ##
=======================================
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. 🚀 New features to boost your workflow:
|
Dependency ReviewThe following issues were found:
Vulnerabilitiesdocs/requirements.txt
tests/requirements.txtOpenSSF ScorecardScorecard details
Scanned Files
|
Test Results (ubuntu)
tests/test_client.pytekhsi_client = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7f91cfaa20>
capsys = <_pytest.capture.CaptureFixture object at 0x7f7f91b4b050>
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 0x7f7f91b4b050>
captured = CaptureResult(out='2025-12-06 02:52:33.000351 - enter()\n', err='')
connection = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7f91cfaa20>
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 0x7f7f91cfaa20>
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 0x7f7f91cfaa20>
.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 0x7f7f91cfaa20>
.tox/tests/lib/python3.12/site-packages/tekhsi/tek_hsi_connect.py:500: in force_sequence
self.connection.RequestNewSequence(request)
request = name: "07c991d7-0858-463a-87a9-0a5b100689f9"
self = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x7f7f91cfaa20>
.tox/tests/lib/python3.12/site-packages/grpc/_channel.py:1166: in __call__
return _end_unary_response_blocking(state, call, False, None)
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7f91a8e200>
compression = None
credentials = None
metadata = None
request = name: "07c991d7-0858-463a-87a9-0a5b100689f9"
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x7f7f91aee7b0>
state = <grpc._channel._RPCState object at 0x7f7f91b49550>
timeout = None
wait_for_ready = None
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <grpc._channel._RPCState object at 0x7f7f91b49550>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7f91a8e200>
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
return state.response
> 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}"
E >
call = <grpc._cython.cygrpc.SegregatedCall object at 0x7f7f91a8e200>
deadline = None
state = <grpc._channel._RPCState object at 0x7f7f91b49550>
with_call = False
.tox/tests/lib/python3.12/site-packages/grpc/_channel.py:996: _InactiveRpcError |
Test Results (macos)
|
Test Results (windows)
tests\test_client.pytekhsi_client = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x000001F1CFCF2150>
capsys = <_pytest.capture.CaptureFixture object at 0x000001F1D0D0F230>
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 0x000001F1D0D0F230>
captured = CaptureResult(out='2025-12-06 02:53:14.000710 - enter()\n', err='')
connection = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x000001F1CFCF2150>
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 0x000001F1CFCF2150>
tests\test_client.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\tests\Lib\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 0x000001F1CFCF2150>
.tox\tests\Lib\site-packages\tekhsi\tek_hsi_connect.py:443: in close
self.force_sequence()
self = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x000001F1CFCF2150>
.tox\tests\Lib\site-packages\tekhsi\tek_hsi_connect.py:500: in force_sequence
self.connection.RequestNewSequence(request)
request = name: "56340241-a3f0-4d7d-8fd1-3f520531929f"
self = <tekhsi.tek_hsi_connect.TekHSIConnect object at 0x000001F1CFCF2150>
.tox\tests\Lib\site-packages\grpc\_channel.py:1166: in __call__
return _end_unary_response_blocking(state, call, False, None)
call = <grpc._cython.cygrpc.SegregatedCall object at 0x000001F1D0E47B40>
compression = None
credentials = None
metadata = None
request = name: "56340241-a3f0-4d7d-8fd1-3f520531929f"
self = <grpc._channel._UnaryUnaryMultiCallable object at 0x000001F1D0E96510>
state = <grpc._channel._RPCState object at 0x000001F1D0D0F8F0>
timeout = None
wait_for_ready = None
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <grpc._channel._RPCState object at 0x000001F1D0D0F8F0>
call = <grpc._cython.cygrpc.SegregatedCall object at 0x000001F1D0E47B40>
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
return state.response
> 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}"
E >
call = <grpc._cython.cygrpc.SegregatedCall object at 0x000001F1D0E47B40>
deadline = None
state = <grpc._channel._RPCState object at 0x000001F1D0D0F8F0>
with_call = False
.tox\tests\Lib\site-packages\grpc\_channel.py:996: _InactiveRpcError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps urllib3 from 2.2.3 to 2.6.0.
Release notes
Sourced from urllib3's releases.
... (truncated)
Changelog
Sourced from urllib3's changelog.
... (truncated)
Commits
720f484Release 2.6.024d7b67Merge commit from forkc19571dMerge commit from fork816fcf0Bump actions/setup-python from 6.0.0 to 6.1.0 (#3725)18af0a1Improve speed ofBytesQueueBuffer.get()by using memoryview (#3711)1f6abacBump versions of pre-commit hooks (#3716)1c8fbf7Bump actions/checkout from 5.0.0 to 6.0.0 (#3722)7784b9eAdd Python 3.15 to CI (#3717)0241c9eUpdated docs to reflect change in optional zstd dependency fromzstandardt...7afcabbExpand environment variable of SSLKEYLOGFILE (#3705)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.