gen3authz 2.3.2__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gen3authz-2.3.2 → gen3authz-3.0.0}/PKG-INFO +4 -11
- {gen3authz-2.3.2 → gen3authz-3.0.0}/pyproject.toml +8 -8
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/arborist/base.py +2 -1
- {gen3authz-2.3.2 → gen3authz-3.0.0}/LICENSE +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/NOTICE +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/__init__.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/__init__.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/arborist/__init__.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/arborist/async_client.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/arborist/client.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/arborist/errors.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/base.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/client/errors.py +0 -0
- {gen3authz-2.3.2 → gen3authz-3.0.0}/src/gen3authz/utils.py +0 -0
|
@@ -1,26 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gen3authz
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Gen3 authz client
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
License-File: NOTICE
|
|
8
8
|
Author: CTDS UChicago
|
|
9
9
|
Author-email: cdis@uchicago.edu
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.13,<4.0
|
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
20
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
-
Requires-Dist: backoff (>=
|
|
15
|
+
Requires-Dist: backoff (>=2.2.1,<3.0.0)
|
|
23
16
|
Requires-Dist: cdiserrors (<2.0.0)
|
|
24
|
-
Requires-Dist: contextvars (>=2.4,<3.0) ; python_version < "3.7"
|
|
25
17
|
Requires-Dist: httpx (>=0.20.0,<1.0.0)
|
|
26
18
|
Requires-Dist: six (>=1.16.0,<2.0.0)
|
|
19
|
+
Requires-Dist: sniffio (>=1.3.1)
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "gen3authz"
|
|
3
|
-
version = "
|
|
3
|
+
version = "3.0.0"
|
|
4
4
|
description = "Gen3 authz client"
|
|
5
5
|
authors = ["CTDS UChicago <cdis@uchicago.edu>"]
|
|
6
6
|
license = "Apache-2.0"
|
|
7
7
|
|
|
8
8
|
[tool.poetry.dependencies]
|
|
9
|
-
python = "
|
|
9
|
+
python = ">=3.13,<4.0"
|
|
10
10
|
cdiserrors = "<2.0.0"
|
|
11
|
-
backoff = "
|
|
11
|
+
backoff = ">=2.2.1,<3.0.0"
|
|
12
12
|
httpx = ">=0.20.0,<1.0.0"
|
|
13
|
-
contextvars = { version = "^2.4", python = "<3.7" }
|
|
14
13
|
six = "^1.16.0"
|
|
14
|
+
sniffio = ">=1.3.1"
|
|
15
15
|
|
|
16
|
-
[tool.poetry.dev
|
|
17
|
-
pytest = "^
|
|
16
|
+
[tool.poetry.group.dev.dependencies]
|
|
17
|
+
pytest = "^7.1.2"
|
|
18
18
|
mock = "^4.0.2"
|
|
19
19
|
pytest-cov = "^2.8.1"
|
|
20
20
|
pytest-asyncio = "^0.12.0"
|
|
21
21
|
truffleHog = "^2.1.11"
|
|
22
22
|
|
|
23
23
|
[build-system]
|
|
24
|
-
requires = ["poetry>=0.
|
|
25
|
-
build-backend = "poetry.masonry.api"
|
|
24
|
+
requires = ["poetry-core>=2.0.0"]
|
|
25
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -218,7 +218,8 @@ class BaseArboristClient(AuthzClient):
|
|
|
218
218
|
# shorten the wait times between retries a little to fit our
|
|
219
219
|
# scale a little better (aim to give up within 10 s)
|
|
220
220
|
for n in backoff.fibo():
|
|
221
|
-
|
|
221
|
+
if n is not None:
|
|
222
|
+
yield n / 2.0
|
|
222
223
|
|
|
223
224
|
res = backoff.on_predicate(wait_gen, on_giveup=giveup, **retry)(
|
|
224
225
|
self.healthy
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|