Skip to content

Commit 74fbf0b

Browse files
authored
Merge pull request #30 from aserto-dev/fix/dependabot
Fix dependabot alerts, drop python 3.8 and add 3.12 and 3.13
2 parents b27a4b1 + 9787d63 commit 74fbf0b

11 files changed

Lines changed: 914 additions & 2305 deletions

File tree

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,6 @@ ds = Directory(api_key="my_api_key", tenant_id="1234", address="localhost:9292")
357357

358358
The methods on the async directory have the same signatures as their synchronous counterparts.
359359

360-
### Directory v2 client
361-
362-
To interact with older instances of the directory service, a v2 client is available with limited functionality.
363-
The v2 client doesn't support `get_manifest`/`set_manifest`, and `import_data`/`export_data`.
364-
365-
```py
366-
from aserto.client.directory.v2 import Directory
367-
ds = Directory(api_key="my_api_key", tenant_id="1234", address="localhost:9292")
368-
```
369-
370360
## License
371361

372362
This project is licensed under the MIT license. See the [LICENSE](https://github.com/aserto-dev/aserto-python/blob/main/LICENSE) file for more info.

magefiles/go.mod

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,57 @@
11
module github.com/aserto-dev/python-authorizer/magefiles
22

3-
go 1.19
3+
go 1.22.0
4+
5+
toolchain go1.22.8
46

57
require (
6-
github.com/aserto-dev/mage-loot v0.8.10
7-
github.com/magefile/mage v1.14.0
8+
github.com/aserto-dev/mage-loot v0.8.17
9+
github.com/magefile/mage v1.15.0
810
)
911

1012
require (
11-
github.com/aserto-dev/clui v0.8.1 // indirect
12-
github.com/fatih/color v1.13.0 // indirect
13-
github.com/fsnotify/fsnotify v1.5.4 // indirect
14-
github.com/gitleaks/go-gitdiff v0.7.4 // indirect
13+
dario.cat/mergo v1.0.1 // indirect
14+
github.com/BobuSumisu/aho-corasick v1.0.3 // indirect
15+
github.com/OneOfOne/xxhash v1.2.8 // indirect
16+
github.com/aserto-dev/clui v0.8.3 // indirect
17+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
18+
github.com/charmbracelet/lipgloss v1.0.0 // indirect
19+
github.com/charmbracelet/x/ansi v0.4.2 // indirect
20+
github.com/fatih/color v1.18.0 // indirect
21+
github.com/fatih/semgroup v1.3.0 // indirect
22+
github.com/fsnotify/fsnotify v1.8.0 // indirect
23+
github.com/gitleaks/go-gitdiff v0.9.1 // indirect
24+
github.com/h2non/filetype v1.1.3 // indirect
1525
github.com/hashicorp/hcl v1.0.0 // indirect
16-
github.com/imdario/mergo v0.3.13 // indirect
1726
github.com/kyokomi/emoji v2.2.4+incompatible // indirect
18-
github.com/magiconair/properties v1.8.6 // indirect
19-
github.com/mattn/go-colorable v0.1.12 // indirect
20-
github.com/mattn/go-isatty v0.0.14 // indirect
21-
github.com/mattn/go-runewidth v0.0.13 // indirect
27+
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
28+
github.com/magiconair/properties v1.8.7 // indirect
29+
github.com/mattn/go-colorable v0.1.13 // indirect
30+
github.com/mattn/go-isatty v0.0.20 // indirect
31+
github.com/mattn/go-runewidth v0.0.16 // indirect
2232
github.com/mitchellh/mapstructure v1.5.0 // indirect
33+
github.com/muesli/termenv v0.15.2 // indirect
2334
github.com/olekukonko/tablewriter v0.0.5 // indirect
24-
github.com/pelletier/go-toml v1.9.5 // indirect
25-
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
35+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
2636
github.com/pkg/errors v0.9.1 // indirect
27-
github.com/rivo/uniseg v0.2.0 // indirect
28-
github.com/rs/zerolog v1.25.0 // indirect
29-
github.com/spf13/afero v1.8.2 // indirect
30-
github.com/spf13/cast v1.5.0 // indirect
31-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
37+
github.com/rivo/uniseg v0.4.7 // indirect
38+
github.com/rs/zerolog v1.33.0 // indirect
39+
github.com/sagikazarmark/locafero v0.6.0 // indirect
40+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
41+
github.com/sourcegraph/conc v0.3.0 // indirect
42+
github.com/spf13/afero v1.11.0 // indirect
43+
github.com/spf13/cast v1.7.0 // indirect
3244
github.com/spf13/pflag v1.0.5 // indirect
33-
github.com/spf13/viper v1.13.0 // indirect
34-
github.com/subosito/gotenv v1.4.1 // indirect
35-
github.com/ulikunitz/xz v0.5.10 // indirect
36-
github.com/zricethezav/gitleaks/v8 v8.3.0 // indirect
37-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
38-
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
39-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
40-
golang.org/x/text v0.3.7 // indirect
45+
github.com/spf13/viper v1.19.0 // indirect
46+
github.com/subosito/gotenv v1.6.0 // indirect
47+
github.com/ulikunitz/xz v0.5.12 // indirect
48+
github.com/zricethezav/gitleaks/v8 v8.21.2 // indirect
49+
go.uber.org/multierr v1.11.0 // indirect
50+
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
51+
golang.org/x/sync v0.8.0 // indirect
52+
golang.org/x/sys v0.26.0 // indirect
53+
golang.org/x/term v0.25.0 // indirect
54+
golang.org/x/text v0.19.0 // indirect
4155
gopkg.in/ini.v1 v1.67.0 // indirect
4256
gopkg.in/yaml.v2 v2.4.0 // indirect
4357
gopkg.in/yaml.v3 v3.0.1 // indirect

magefiles/go.sum

Lines changed: 101 additions & 506 deletions
Large diffs are not rendered by default.

poetry.lock

Lines changed: 739 additions & 563 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "aserto"
3-
version = "0.31.3"
3+
version = "0.32.0"
44
description = "Aserto API client"
55
readme = "README.md"
66
authors = ["Aserto, Inc. <pypi@aserto.com>"]
@@ -16,10 +16,11 @@ classifiers = [
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
"Topic :: Software Development :: Libraries",
2425
"Typing :: Typed",
2526
]
@@ -28,15 +29,16 @@ packages = [
2829
]
2930

3031
[tool.poetry.dependencies]
31-
python = "^3.8"
32-
aiohttp = "^3.9.5"
32+
python = "^3.9"
33+
aiohttp = "^3.10.2"
3334
grpcio = "^1.64.1"
3435
protobuf = "^5.27.2"
3536
aserto-authorizer = "^0.20.3"
3637
aserto-directory = "^0.31.4"
38+
certifi = ">=2024.8.30"
3739

3840
[tool.poetry.dev-dependencies]
39-
black = "^23.0"
41+
black = "^24.0"
4042
isort= "^5.9.0"
4143
pytest-asyncio = "^0.23"
4244
pyright = "^1.1.0"

0 commit comments

Comments
 (0)