kanidm/pykanidm/pyproject.toml

84 lines
1.9 KiB
TOML
Raw Normal View History

[tool.poetry]
name = "kanidm"
version = "0.0.3"
description = "Kanidm client library"
license = "MPL-2.0"
authors = ["James Hodgkinson <james@terminaloutcomes.com>"]
readme = "README.md"
repository = "https://github.com/kanidm/kanidm"
homepage = "https://kanidm.com/"
packages = [{ include = "kanidm" }]
keywords = ["kanidm", "idm", "api"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
2022-09-29 02:08:15 +02:00
python = "^3.9"
toml = "^0.10.2"
pydantic = ">=2.0.0,<3.0.0"
aiohttp = "^3.8.1"
Authlib = "^1.2.0"
[tool.poetry.dev-dependencies]
mypy = "^1.6"
chore(deps-dev): bump the all group in /pykanidm with 5 updates (#2265) Bumps the all group in /pykanidm with 5 updates: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pylint-pytest](https://github.com/pylint-dev/pylint-pytest) | `1.1.2` | `1.1.3` | | [black](https://github.com/psf/black) | `23.10.0` | `23.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.6` | `9.4.7` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.1` | `0.1.3` | Updates `pytest` from 7.4.2 to 7.4.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) Updates `pylint-pytest` from 1.1.2 to 1.1.3 - [Release notes](https://github.com/pylint-dev/pylint-pytest/releases) - [Changelog](https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md) - [Commits](https://github.com/pylint-dev/pylint-pytest/compare/pylint-pytest-1.1.2...v1.1.3) Updates `black` from 23.10.0 to 23.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) Updates `mkdocs-material` from 9.4.6 to 9.4.7 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) Updates `ruff` from 0.1.1 to 0.1.3 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pylint-pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 21:59:30 +01:00
pytest = "^7.4.3"
types-toml = "^0.10.8"
pylint-pydantic = "^0.3.0"
coverage = "^7.3.2"
chore(deps-dev): bump the all group in /pykanidm with 5 updates (#2265) Bumps the all group in /pykanidm with 5 updates: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pylint-pytest](https://github.com/pylint-dev/pylint-pytest) | `1.1.2` | `1.1.3` | | [black](https://github.com/psf/black) | `23.10.0` | `23.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.6` | `9.4.7` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.1` | `0.1.3` | Updates `pytest` from 7.4.2 to 7.4.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) Updates `pylint-pytest` from 1.1.2 to 1.1.3 - [Release notes](https://github.com/pylint-dev/pylint-pytest/releases) - [Changelog](https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md) - [Commits](https://github.com/pylint-dev/pylint-pytest/compare/pylint-pytest-1.1.2...v1.1.3) Updates `black` from 23.10.0 to 23.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) Updates `mkdocs-material` from 9.4.6 to 9.4.7 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) Updates `ruff` from 0.1.1 to 0.1.3 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pylint-pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 21:59:30 +01:00
pylint-pytest = "^1.1.3"
pytest-asyncio = "^0.21.1"
chore(deps-dev): bump the all group in /pykanidm with 4 updates (#2246) Bumps the all group in /pykanidm with 4 updates: [mypy](https://github.com/python/mypy), [pytest-mock](https://github.com/pytest-dev/pytest-mock), [black](https://github.com/psf/black) and [ruff](https://github.com/astral-sh/ruff). Updates `mypy` from 1.6.0 to 1.6.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.6.0...v1.6.1) Updates `pytest-mock` from 3.11.1 to 3.12.0 - [Release notes](https://github.com/pytest-dev/pytest-mock/releases) - [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0) Updates `black` from 23.9.1 to 23.10.0 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0) Updates `ruff` from 0.0.292 to 0.1.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.292...v0.1.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pytest-mock dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-22 23:14:21 +02:00
pytest-mock = "^3.12.0"
pytest-aiohttp = "^1.0.5"
chore(deps-dev): bump the all group in /pykanidm with 5 updates (#2265) Bumps the all group in /pykanidm with 5 updates: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pylint-pytest](https://github.com/pylint-dev/pylint-pytest) | `1.1.2` | `1.1.3` | | [black](https://github.com/psf/black) | `23.10.0` | `23.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.6` | `9.4.7` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.1` | `0.1.3` | Updates `pytest` from 7.4.2 to 7.4.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) Updates `pylint-pytest` from 1.1.2 to 1.1.3 - [Release notes](https://github.com/pylint-dev/pylint-pytest/releases) - [Changelog](https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md) - [Commits](https://github.com/pylint-dev/pylint-pytest/compare/pylint-pytest-1.1.2...v1.1.3) Updates `black` from 23.10.0 to 23.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) Updates `mkdocs-material` from 9.4.6 to 9.4.7 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) Updates `ruff` from 0.1.1 to 0.1.3 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pylint-pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 21:59:30 +01:00
black = "^23.10.1"
mkdocs = "^1.5.3"
chore(deps-dev): bump the all group in /pykanidm with 5 updates (#2265) Bumps the all group in /pykanidm with 5 updates: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pylint-pytest](https://github.com/pylint-dev/pylint-pytest) | `1.1.2` | `1.1.3` | | [black](https://github.com/psf/black) | `23.10.0` | `23.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.6` | `9.4.7` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.1` | `0.1.3` | Updates `pytest` from 7.4.2 to 7.4.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) Updates `pylint-pytest` from 1.1.2 to 1.1.3 - [Release notes](https://github.com/pylint-dev/pylint-pytest/releases) - [Changelog](https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md) - [Commits](https://github.com/pylint-dev/pylint-pytest/compare/pylint-pytest-1.1.2...v1.1.3) Updates `black` from 23.10.0 to 23.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) Updates `mkdocs-material` from 9.4.6 to 9.4.7 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) Updates `ruff` from 0.1.1 to 0.1.3 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pylint-pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 21:59:30 +01:00
mkdocs-material = "^9.4.7"
mkdocstrings = "^0.23.0"
mkdocstrings-python = "^1.7.3"
pook = "^1.1.1"
2023-01-23 10:56:49 +01:00
[tool.poetry.group.dev.dependencies]
chore(deps-dev): bump the all group in /pykanidm with 5 updates (#2265) Bumps the all group in /pykanidm with 5 updates: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.2` | `7.4.3` | | [pylint-pytest](https://github.com/pylint-dev/pylint-pytest) | `1.1.2` | `1.1.3` | | [black](https://github.com/psf/black) | `23.10.0` | `23.10.1` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.4.6` | `9.4.7` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.1` | `0.1.3` | Updates `pytest` from 7.4.2 to 7.4.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3) Updates `pylint-pytest` from 1.1.2 to 1.1.3 - [Release notes](https://github.com/pylint-dev/pylint-pytest/releases) - [Changelog](https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md) - [Commits](https://github.com/pylint-dev/pylint-pytest/compare/pylint-pytest-1.1.2...v1.1.3) Updates `black` from 23.10.0 to 23.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) Updates `mkdocs-material` from 9.4.6 to 9.4.7 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7) Updates `ruff` from 0.1.1 to 0.1.3 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: pylint-pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: black dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 21:59:30 +01:00
ruff = ">=0.0.230,<0.1.4"
2023-01-23 10:56:49 +01:00
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.MASTER]
max-line-length = 150
disable = "W0511,raise-missing-from"
extension-pkg-allow-list = "pydantic"
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
load-plugins = "pylint_pydantic,pylint_pytest"
2023-01-23 10:56:49 +01:00
[tool.ruff]
line-length = 150
[tool.ruff.per-file-ignores]
"tests/*.py" = [
"F401", # unused import, reused fixtures across all tests
"F811", # pytest fixtures
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = [
2022-09-29 02:08:15 +02:00
"network: Tests that require network access and a working backend server",
"interactive: Requires specific config and a working backend server",
]
[tool.coverage.run]
source = ["kanidm"]
omit = ["tests"]
[tool.mypy]
plugins = "pydantic.mypy"