fix: gitlint needs hatch-vcs

Looks like it must be kept in tandem with gitlint-core.
This commit is contained in:
Victor Engmark 2023-03-27 14:11:57 +13:00 committed by adisbladis
parent 10a54f8517
commit de242a31f2
5 changed files with 44 additions and 9 deletions

View file

@ -6143,7 +6143,18 @@
"setuptools"
],
"gitlint": [
"setuptools"
{
"buildSystem": "setuptools",
"until": "0.19"
},
{
"buildSystem": "hatchling",
"from": "0.19"
},
{
"buildSystem": "hatch-vcs",
"from": "0.19"
}
],
"gitlint-core": [
{

View file

@ -138,7 +138,7 @@ builtins.removeAttrs
affine = callTest ./affine { };
affine-pre-2-4 = callTest ./affine-pre-2-4 { };
gdal = callTest ./gdal { };
gitlint-core = callTest ./gitlint-core { };
gitlint = callTest ./gitlint { };
jupyter-ydoc = callTest ./jupyter-ydoc { };
mutmut = callTest ./mutmut { };
rasterio = callTest ./rasterio { };

View file

@ -4,6 +4,6 @@ let
projectDir = ./.;
};
in
runCommand "gitlint-core-test" { } ''
runCommand "gitlint-test" { } ''
${env}/bin/gitlint --version > $out
''

View file

@ -42,6 +42,21 @@ files = [
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
[[package]]
name = "gitlint"
version = "0.19.1"
description = "Git commit message linter written in python, checks your commit messages for style."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
{file = "gitlint-0.19.1-py3-none-any.whl", hash = "sha256:26bb085959148d99fbbc178b4e56fda6c3edd7646b7c2a24d8ee1f8e036ed85d"},
{file = "gitlint-0.19.1.tar.gz", hash = "sha256:b5b70fb894e80849b69abbb65ee7dbb3520fc3511f202a6e6b6ddf1a71ee8f61"},
]
[package.dependencies]
gitlint-core = {version = "0.19.1", extras = ["trusted-deps"]}
[[package]]
name = "gitlint-core"
version = "0.19.1"
@ -55,9 +70,18 @@ files = [
]
[package.dependencies]
arrow = ">=1"
click = ">=8"
sh = {version = ">=1.13.0", markers = "sys_platform != \"win32\""}
arrow = [
{version = ">=1"},
{version = "1.2.3", optional = true, markers = "extra == \"trusted-deps\""},
]
click = [
{version = ">=8"},
{version = "8.1.3", optional = true, markers = "extra == \"trusted-deps\""},
]
sh = [
{version = ">=1.13.0", markers = "sys_platform != \"win32\""},
{version = "1.14.3", optional = true, markers = "sys_platform != \"win32\""},
]
[package.extras]
trusted-deps = ["arrow (==1.2.3)", "click (==8.1.3)", "sh (==1.14.3)"]
@ -103,4 +127,4 @@ files = [
[metadata]
lock-version = "2.0"
python-versions = "^3.8"
content-hash = "adf873e9e558309a0a45d9377b383b7f101407ca573f8bfb9a7734bed7d69762"
content-hash = "943d2992e7893036993128ae225be75f752dfe9afd349d4313f63f63c7050977"

View file

@ -1,12 +1,12 @@
[tool.poetry]
name = "gitlint-core-test"
name = "gitlint-test"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.8"
gitlint-core = "*"
gitlint = "*"
[build-system]
requires = ["poetry-core"]