-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configurations in `pyproject.toml` to enable poetry. Not using group as it causes issue in installation in github action job. refer: https://github.com/corridor/sqlalchemy-history/actions/runs/3600114588/jobs/6064420550
- Loading branch information
1 parent
7f71030
commit 2963e71
Showing
1 changed file
with
29 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[project] | ||
[tool.poetry] | ||
name = "SQLAlchemy-History" | ||
description = "History tracking extension for SQLAlchemy." | ||
requires-python = ">=3.6" | ||
version = "2.0.0rc1" | ||
authors = ["Corridor Platforms <[email protected]>"] | ||
<<<<<<< HEAD | ||
======= | ||
<<<<<<< HEAD | ||
license = "Apache-2.0, BSD-3-Clause" | ||
======= | ||
>>>>>>> chore(#11): migrate to poetry | ||
>>>>>>> c5fcd5d... chore(#11): migrate to poetry | ||
readme = "README.md" | ||
packages = [{include = "sqlalchemy_history"}, {include = "sqlalchemy_history/plugins"}] | ||
repository = "https://github.com/corridor/sqlalchemy-history" | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
|
@@ -14,26 +25,23 @@ classifiers=[ | |
"Programming Language :: Python :: 3", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"SQLAlchemy>=1.4,<2", | ||
"SQLAlchemy-Utils>=0.30.12", | ||
] | ||
dynamic = ["version", "readme"] | ||
|
||
[project.urls] | ||
repository = "https://github.com/corridor/sqlalchemy-history" | ||
homepage = "https://github.com/corridor/sqlalchemy-history" | ||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"sqlalchemy_history", | ||
"sqlalchemy_history.plugins" | ||
] | ||
zip-safe = false | ||
SQLAlchemy = ">=1.4,<2" | ||
SQLAlchemy-Utils = ">=0.30.12" | ||
|
||
[tool.poetry.dev-dependencies] | ||
black = {version = "*", allow-prereleases = true} | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "sqlalchemy_history.__version__"} | ||
readme = {file = ["README.md"]} | ||
# [tool.poetry.group.test.dependencies] | ||
pytest = ">=2.3.5" | ||
flexmock = ">=0.9.7" | ||
psycopg2-binary = ">=2.4.6" | ||
PyMySQL = ">=0.8.0" | ||
sqlalchemy_i18n = "*" | ||
pymssql = ">=2.2.0" | ||
|
||
[tool.black] | ||
# Set line-length lower than 120 as black will go 10% above if needed | ||
|