This commit is contained in:
Dulmandakh 2024-07-05 23:15:20 +08:00
parent 73c43b03eb
commit c92260be64
2 changed files with 60 additions and 30 deletions

31
poetry.lock generated Normal file
View File

@ -0,0 +1,31 @@
# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand.
[[package]]
name = "graphql-core"
version = "3.2.3"
description = "GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL."
optional = false
python-versions = ">=3.6,<4"
files = [
{file = "graphql-core-3.2.3.tar.gz", hash = "sha256:06d2aad0ac723e35b1cb47885d3e5c45e956a53bc1b209a9fc5369007fe46676"},
{file = "graphql_core-3.2.3-py3-none-any.whl", hash = "sha256:5766780452bd5ec8ba133f8bf287dc92713e3868ddd83aee4faab9fc3e303dc3"},
]
[[package]]
name = "graphql-relay"
version = "3.2.0"
description = "Relay library for graphql-core"
optional = false
python-versions = ">=3.6,<4"
files = [
{file = "graphql-relay-3.2.0.tar.gz", hash = "sha256:1ff1c51298356e481a0be009ccdff249832ce53f30559c1338f22a0e0d17250c"},
{file = "graphql_relay-3.2.0-py3-none-any.whl", hash = "sha256:c9b22bd28b170ba1fe674c74384a8ff30a76c8e26f88ac3aa1584dd3179953e5"},
]
[package.dependencies]
graphql-core = ">=3.2,<3.3"
[metadata]
lock-version = "2.0"
python-versions = "^3.8"
content-hash = "801ed9bd351ccb546a35140bc9ecc43b1da4d1adefe6282492b1d0c7c9b4aa43"

View File

@ -1,22 +1,17 @@
[build-system]
requires = [
"setuptools >= 61.0",
"graphql-core>=3.1,<3.3",
"graphql-relay>=3.1,<3.3",
]
build-backend = "setuptools.build_meta"
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
[tool.poetry]
name = "graphene"
dynamic = ["version"]
dependencies = ["graphql-core>=3.1,<3.3", "graphql-relay>=3.1,<3.3"]
requires-python = ">=3.8"
authors = [{ name = "Syrus Akbary", email = "me@syrusakbary.com" }]
version = "3.3.0"
authors = [ "Syrus Akbary <me@syrusakbary.com>" ]
description = "GraphQL Framework for Python"
readme = "README.md"
license = { file = "LICENSE" }
license = "MIT"
keywords = ["api", "graphql", "protocol", "rest", "relay", "graphene"]
homepage = "https://graphene-python.org/"
repository = "https://github.com/graphql-python/graphene"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
@ -29,22 +24,26 @@ classifiers = [
"Programming Language :: Python :: 3.13",
]
[tool.setuptools.dynamic]
version = { attr = "graphene.__version__" }
[tool.poetry.dependencies]
python = "^3.8"
graphql-core = ">=3.1,<3.3"
graphql-relay = ">=3.1,<3.3"
[project.optional-dependencies]
dev = ["ruff==0.5.0", "graphene[test]"]
test = [
"tox",
"pytest>=8,<9",
"pytest-benchmark>=4,<5",
"pytest-cov>=5,<6",
"pytest-mock>=3,<4",
"pytest-asyncio>=0.16,<2",
"snapshottest>=0.6,<1",
"coveralls>=3.3,<5",
]
# [tool.poetry.group.lint.dependencies]
[project.urls]
Homepage = "https://graphene-python.org/"
Repository = "https://github.com/graphql-python/graphene"
[tool.poetry.group.test.dependencies]
tox = "*"
pytest = ">=8,<9"
pytest-benchmark = ">=4,<5"
pytest-cov = ">=5,<6"
pytest-mock = ">=3,<4"
pytest-asyncio = ">=0.16,<2"
snapshottest = ">=0.6,<1"
coveralls = ">=3.3,<5"
# pytest = "^6.0.0"
# pytest-mock = "*"
# dev = ["ruff==0.5.0", "graphene[test]"]
# test = [
# ]