diff --git a/requirements/py3.10/test.txt b/requirements/py3.10/test.txt index ac468dcf8..36674dc4a 100644 --- a/requirements/py3.10/test.txt +++ b/requirements/py3.10/test.txt @@ -4,41 +4,44 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -coverage==7.3.2 +coverage==7.5.3 # via -r test.in -exceptiongroup==1.2.0 +exceptiongroup==1.2.1 # via pytest -execnet==2.0.2 +execnet==2.1.1 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.1 # via pytest -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -pytest==7.4.3 +pytest==8.2.2 # via # -r test.in + # pytest-randomly # pytest-xdist -pytest-xdist==3.5.0 +pytest-randomly==3.15.0 + # via -r test.in +pytest-xdist==3.6.1 # via -r test.in pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r test.in tomli==2.0.1 # via pytest -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.10/typing.txt b/requirements/py3.10/typing.txt index 4ccc0255b..118addc86 100644 --- a/requirements/py3.10/typing.txt +++ b/requirements/py3.10/typing.txt @@ -4,37 +4,37 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests -mypy==1.7.1 +mypy==1.10.0 # via -r typing.in mypy-extensions==1.0.0 # via mypy pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r typing.in tomli==2.0.1 # via mypy types-cryptography==3.3.23.2 # via types-jwt -types-docutils==0.20.0.3 +types-docutils==0.21.0.20240423 # via -r typing.in types-jwt==0.1.3 # via -r typing.in -types-requests==2.31.0.10 +types-requests==2.32.0.20240602 # via -r typing.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # -r typing.in # mypy -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.11/docs.txt b/requirements/py3.11/docs.txt index d984006fd..7ed9042c6 100644 --- a/requirements/py3.11/docs.txt +++ b/requirements/py3.11/docs.txt @@ -4,47 +4,47 @@ # # tox p -m freezedeps # -alabaster==0.7.13 +alabaster==0.7.16 # via sphinx -babel==2.13.1 +babel==2.15.0 # via sphinx -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via furo -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -docutils==0.20.1 +docutils==0.21.2 # via sphinx -furo==2023.9.10 +furo==2024.5.6 # via -r docs.in -idna==3.6 +idna==3.7 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.2 +jinja2==3.1.4 # via sphinx -markupsafe==2.1.3 +markupsafe==2.1.5 # via jinja2 -packaging==23.2 +packaging==24.1 # via sphinx -pygments==2.17.2 +pygments==2.18.0 # via # furo # sphinx pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via # responses # sphinx -responses==0.24.1 +responses==0.25.3 # via -r docs.in snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 # via beautifulsoup4 -sphinx==7.2.6 +sphinx==7.3.7 # via # -r docs.in # furo @@ -52,32 +52,27 @@ sphinx==7.2.6 # sphinx-copybutton # sphinx-design # sphinx-issues - # sphinxcontrib-applehelp - # sphinxcontrib-devhelp - # sphinxcontrib-htmlhelp - # sphinxcontrib-qthelp - # sphinxcontrib-serializinghtml sphinx-basic-ng==1.0.0b2 # via furo sphinx-copybutton==0.5.2 # via -r docs.in -sphinx-design==0.5.0 +sphinx-design==0.6.0 # via -r docs.in -sphinx-issues==3.0.1 +sphinx-issues==4.1.0 # via -r docs.in -sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-applehelp==1.0.8 # via sphinx -sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-devhelp==1.0.6 # via sphinx -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-htmlhelp==2.0.5 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-qthelp==1.0.7 # via sphinx -sphinxcontrib-serializinghtml==1.1.9 +sphinxcontrib-serializinghtml==1.1.10 # via sphinx -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.11/test.txt b/requirements/py3.11/test.txt index 06198ae71..747493c74 100644 --- a/requirements/py3.11/test.txt +++ b/requirements/py3.11/test.txt @@ -4,37 +4,40 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -coverage==7.3.2 +coverage==7.5.3 # via -r test.in -execnet==2.0.2 +execnet==2.1.1 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.1 # via pytest -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -pytest==7.4.3 +pytest==8.2.2 # via # -r test.in + # pytest-randomly # pytest-xdist -pytest-xdist==3.5.0 +pytest-randomly==3.15.0 + # via -r test.in +pytest-xdist==3.6.1 # via -r test.in pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r test.in -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.11/typing.txt b/requirements/py3.11/typing.txt index a47efbf47..633dd4994 100644 --- a/requirements/py3.11/typing.txt +++ b/requirements/py3.11/typing.txt @@ -4,35 +4,35 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests -mypy==1.7.1 +mypy==1.10.0 # via -r typing.in mypy-extensions==1.0.0 # via mypy pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r typing.in types-cryptography==3.3.23.2 # via types-jwt -types-docutils==0.20.0.3 +types-docutils==0.21.0.20240423 # via -r typing.in types-jwt==0.1.3 # via -r typing.in -types-requests==2.31.0.10 +types-requests==2.32.0.20240602 # via -r typing.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # -r typing.in # mypy -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.12/test.txt b/requirements/py3.12/test.txt index 51fa496ae..395f9ef51 100644 --- a/requirements/py3.12/test.txt +++ b/requirements/py3.12/test.txt @@ -4,37 +4,40 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -coverage==7.3.2 +coverage==7.5.3 # via -r test.in -execnet==2.0.2 +execnet==2.1.1 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.1 # via pytest -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -pytest==7.4.3 +pytest==8.2.2 # via # -r test.in + # pytest-randomly # pytest-xdist -pytest-xdist==3.5.0 +pytest-randomly==3.15.0 + # via -r test.in +pytest-xdist==3.6.1 # via -r test.in pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r test.in -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.12/typing.txt b/requirements/py3.12/typing.txt index 9e1ba99df..06d4db992 100644 --- a/requirements/py3.12/typing.txt +++ b/requirements/py3.12/typing.txt @@ -4,35 +4,35 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests -mypy==1.7.1 +mypy==1.10.0 # via -r typing.in mypy-extensions==1.0.0 # via mypy pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r typing.in types-cryptography==3.3.23.2 # via types-jwt -types-docutils==0.20.0.3 +types-docutils==0.21.0.20240423 # via -r typing.in types-jwt==0.1.3 # via -r typing.in -types-requests==2.31.0.10 +types-requests==2.32.0.20240602 # via -r typing.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # -r typing.in # mypy -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.7/test-mindeps.txt b/requirements/py3.7/test-mindeps.txt index 3ad6dacc3..8079c0985 100644 --- a/requirements/py3.7/test-mindeps.txt +++ b/requirements/py3.7/test-mindeps.txt @@ -4,7 +4,7 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests cffi==1.15.1 # via cryptography @@ -14,11 +14,11 @@ coverage==7.2.7 # via -r test.in cryptography==3.3.1 # via -r test-mindeps.in -exceptiongroup==1.2.0 +exceptiongroup==1.2.1 # via pytest execnet==2.0.2 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in idna==2.8 # via requests @@ -26,9 +26,10 @@ importlib-metadata==6.7.0 # via # pluggy # pytest + # pytest-randomly iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.0 # via pytest pluggy==1.2.0 # via pytest @@ -36,10 +37,13 @@ pycparser==2.21 # via cffi pyjwt==2.0.0 # via -r test-mindeps.in -pytest==7.4.3 +pytest==7.4.4 # via # -r test.in + # pytest-randomly # pytest-xdist +pytest-randomly==3.12.0 + # via -r test.in pytest-xdist==3.5.0 # via -r test.in pyyaml==6.0.1 diff --git a/requirements/py3.7/test.txt b/requirements/py3.7/test.txt index 33a5f5d27..64f01b93d 100644 --- a/requirements/py3.7/test.txt +++ b/requirements/py3.7/test.txt @@ -4,34 +4,38 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests coverage==7.2.7 # via -r test.in -exceptiongroup==1.2.0 +exceptiongroup==1.2.1 # via pytest execnet==2.0.2 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests importlib-metadata==6.7.0 # via # pluggy # pytest + # pytest-randomly iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.0 # via pytest pluggy==1.2.0 # via pytest -pytest==7.4.3 +pytest==7.4.4 # via # -r test.in + # pytest-randomly # pytest-xdist +pytest-randomly==3.12.0 + # via -r test.in pytest-xdist==3.5.0 # via -r test.in pyyaml==6.0.1 diff --git a/requirements/py3.7/typing.txt b/requirements/py3.7/typing.txt index e9bee8f9b..2a8f42dcc 100644 --- a/requirements/py3.7/typing.txt +++ b/requirements/py3.7/typing.txt @@ -4,11 +4,11 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests mypy==1.4.1 # via -r typing.in @@ -32,7 +32,7 @@ types-jwt==0.1.3 # via -r typing.in types-pyyaml==6.0.12.12 # via responses -types-requests==2.31.0.10 +types-requests==2.31.0.20231231 # via -r typing.in typing-extensions==4.7.1 # via diff --git a/requirements/py3.8/test.txt b/requirements/py3.8/test.txt index fcc54c90c..f08b62da1 100644 --- a/requirements/py3.8/test.txt +++ b/requirements/py3.8/test.txt @@ -4,41 +4,48 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -coverage==7.3.2 +coverage==7.5.3 # via -r test.in -exceptiongroup==1.2.0 +exceptiongroup==1.2.1 # via pytest -execnet==2.0.2 +execnet==2.1.1 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests +importlib-metadata==7.2.0 + # via pytest-randomly iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.1 # via pytest -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -pytest==7.4.3 +pytest==8.2.2 # via # -r test.in + # pytest-randomly # pytest-xdist -pytest-xdist==3.5.0 +pytest-randomly==3.15.0 + # via -r test.in +pytest-xdist==3.6.1 # via -r test.in pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r test.in tomli==2.0.1 # via pytest -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses +zipp==3.19.2 + # via importlib-metadata diff --git a/requirements/py3.8/typing.txt b/requirements/py3.8/typing.txt index 66acfe71d..7c40beb91 100644 --- a/requirements/py3.8/typing.txt +++ b/requirements/py3.8/typing.txt @@ -4,37 +4,37 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests -mypy==1.7.1 +mypy==1.10.0 # via -r typing.in mypy-extensions==1.0.0 # via mypy pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r typing.in tomli==2.0.1 # via mypy types-cryptography==3.3.23.2 # via types-jwt -types-docutils==0.20.0.3 +types-docutils==0.21.0.20240423 # via -r typing.in types-jwt==0.1.3 # via -r typing.in -types-requests==2.31.0.10 +types-requests==2.32.0.20240602 # via -r typing.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # -r typing.in # mypy -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/py3.9/test.txt b/requirements/py3.9/test.txt index 0e103c371..27122d223 100644 --- a/requirements/py3.9/test.txt +++ b/requirements/py3.9/test.txt @@ -4,41 +4,48 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -coverage==7.3.2 +coverage==7.5.3 # via -r test.in -exceptiongroup==1.2.0 +exceptiongroup==1.2.1 # via pytest -execnet==2.0.2 +execnet==2.1.1 # via pytest-xdist -flaky==3.7.0 +flaky==3.8.1 # via -r test.in -idna==3.6 +idna==3.7 # via requests +importlib-metadata==7.2.0 + # via pytest-randomly iniconfig==2.0.0 # via pytest -packaging==23.2 +packaging==24.1 # via pytest -pluggy==1.3.0 +pluggy==1.5.0 # via pytest -pytest==7.4.3 +pytest==8.2.2 # via # -r test.in + # pytest-randomly # pytest-xdist -pytest-xdist==3.5.0 +pytest-randomly==3.15.0 + # via -r test.in +pytest-xdist==3.6.1 # via -r test.in pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r test.in tomli==2.0.1 # via pytest -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses +zipp==3.19.2 + # via importlib-metadata diff --git a/requirements/py3.9/typing.txt b/requirements/py3.9/typing.txt index 369268d78..b0be6a4cb 100644 --- a/requirements/py3.9/typing.txt +++ b/requirements/py3.9/typing.txt @@ -4,37 +4,37 @@ # # tox p -m freezedeps # -certifi==2023.11.17 +certifi==2024.6.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.6 +idna==3.7 # via requests -mypy==1.7.1 +mypy==1.10.0 # via -r typing.in mypy-extensions==1.0.0 # via mypy pyyaml==6.0.1 # via responses -requests==2.31.0 +requests==2.32.3 # via responses -responses==0.24.1 +responses==0.25.3 # via -r typing.in tomli==2.0.1 # via mypy types-cryptography==3.3.23.2 # via types-jwt -types-docutils==0.20.0.3 +types-docutils==0.21.0.20240423 # via -r typing.in types-jwt==0.1.3 # via -r typing.in -types-requests==2.31.0.10 +types-requests==2.32.0.20240602 # via -r typing.in -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # -r typing.in # mypy -urllib3==2.1.0 +urllib3==2.2.2 # via # requests # responses diff --git a/requirements/test.in b/requirements/test.in index 722a5bcef..751133423 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -2,4 +2,5 @@ pytest coverage flaky pytest-xdist +pytest-randomly responses diff --git a/src/globus_sdk/experimental/tokenstorage/sqlite.py b/src/globus_sdk/experimental/tokenstorage/sqlite.py index 660bd889a..b01fc64be 100644 --- a/src/globus_sdk/experimental/tokenstorage/sqlite.py +++ b/src/globus_sdk/experimental/tokenstorage/sqlite.py @@ -55,7 +55,9 @@ def _init_and_connect( connect_params = connect_params or {} if init_tables and not self._is_memory_db(): # real file needs to be created with self.user_only_umask(): - conn = sqlite3.connect(self.dbname, **connect_params) + conn: sqlite3.Connection = sqlite3.connect( + self.dbname, **connect_params + ) else: conn = sqlite3.connect(self.dbname, **connect_params) if init_tables: diff --git a/src/globus_sdk/tokenstorage/sqlite_adapter.py b/src/globus_sdk/tokenstorage/sqlite_adapter.py index 810555015..9b47fcbad 100644 --- a/src/globus_sdk/tokenstorage/sqlite_adapter.py +++ b/src/globus_sdk/tokenstorage/sqlite_adapter.py @@ -61,7 +61,9 @@ def _init_and_connect( connect_params = connect_params or {} if init_tables and not self._is_memory_db(): # real file needs to be created with self.user_only_umask(): - conn = sqlite3.connect(self.dbname, **connect_params) + conn: sqlite3.Connection = sqlite3.connect( + self.dbname, **connect_params + ) else: conn = sqlite3.connect(self.dbname, **connect_params) if init_tables: