-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Package & Dependency Management using Poetry (#210)
* feat(Poetry): Adds Pyproject file for poetry * feat(Dependencies): Drops support of Python 3.6 (End of Life), bumps mongoengine to latest 0.27 * fix(Tests): Fix import names of pytest * fix(Dependencies): Locks dependencies using poetry.lock * fix(Dependencies): Adds Coveralls dependency * feat(Packaging): Removed unused setup.py and requirements.txt, [WIP] updated Makefile * refactor(Converter): Remove unused import * refactor(Fields): Fixes lint issues, logs error * fix(Dev Dependecies): Adds Twine [Intermediate for migration from setup.py to pyproject] * fix: migration patch for uploading to pypi
- Loading branch information
1 parent
2702142
commit 40ee17b
Showing
9 changed files
with
1,315 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[tool.poetry] | ||
name = "graphene-mongo" | ||
packages = [{ include = "graphene_mongo" }] | ||
version = "0.3.0" | ||
description = "Graphene Mongoengine integration" | ||
authors = [ | ||
"Abaw Chen <abaw.chen@gmail.com>", | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/graphql-python/graphene-mongo" | ||
repository = "https://github.com/graphql-python/graphene-mongo" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Libraries", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"License :: OSI Approved :: MIT License", | ||
] | ||
keywords = [ | ||
"graphene-mongo", "graphql", "api", "graphql", "protocol", "relay", "graphene", "mongo", "mongoengine" | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.7,<4" | ||
graphene = ">=3.1.1" | ||
promise = ">=2.3" | ||
mongoengine = ">=0.27" | ||
singledispatch = ">=3.7.0" | ||
iso8601 = "*" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "*" | ||
mongomock = ">=4.1.2" | ||
mock = ">=5.0.1" | ||
flake8 = "*" | ||
pytest-cov = "*" | ||
coveralls = "*" | ||
twine = "*" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.