Merge pull request #1051 from l0b0/fix/gitlint-core

fix: gitlint-core 0.19 needs hatchling
This commit is contained in:
adisbladis 2023-03-24 12:10:02 +13:00 committed by GitHub
commit 25c537ad62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 141 additions and 1 deletions

View file

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

View file

@ -133,6 +133,7 @@ builtins.removeAttrs
affine = callTest ./affine { };
affine-pre-2-4 = callTest ./affine-pre-2-4 { };
gdal = callTest ./gdal { };
gitlint-core = callTest ./gitlint-core { };
rasterio = callTest ./rasterio { };
scientific = callTest ./scientific { };
scipy1_9 = callTest ./scipy1_9 { };

View file

@ -0,0 +1,9 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "gitlint-core-test" { } ''
${env}/bin/gitlint --version > $out
''

106
tests/gitlint-core/poetry.lock generated Normal file
View file

@ -0,0 +1,106 @@
# This file is automatically @generated by Poetry and should not be changed by hand.
[[package]]
name = "arrow"
version = "1.2.3"
description = "Better dates & times for Python"
category = "main"
optional = false
python-versions = ">=3.6"
files = [
{file = "arrow-1.2.3-py3-none-any.whl", hash = "sha256:5a49ab92e3b7b71d96cd6bfcc4df14efefc9dfa96ea19045815914a6ab6b1fe2"},
{file = "arrow-1.2.3.tar.gz", hash = "sha256:3934b30ca1b9f292376d9db15b19446088d12ec58629bc3f0da28fd55fb633a1"},
]
[package.dependencies]
python-dateutil = ">=2.7.0"
[[package]]
name = "click"
version = "8.1.3"
description = "Composable command line interface toolkit"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
{file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"},
{file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"},
]
[package.dependencies]
colorama = {version = "*", markers = "platform_system == \"Windows\""}
[[package]]
name = "colorama"
version = "0.4.6"
description = "Cross-platform colored terminal text."
category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
files = [
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
[[package]]
name = "gitlint-core"
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_core-0.19.1-py3-none-any.whl", hash = "sha256:f41effd1dcbc06ffbfc56b6888cce72241796f517b46bd9fd4ab1b145056988c"},
{file = "gitlint_core-0.19.1.tar.gz", hash = "sha256:7bf977b03ff581624a9e03f65ebb8502cc12dfaa3e92d23e8b2b54bbdaa29992"},
]
[package.dependencies]
arrow = ">=1"
click = ">=8"
sh = {version = ">=1.13.0", markers = "sys_platform != \"win32\""}
[package.extras]
trusted-deps = ["arrow (==1.2.3)", "click (==8.1.3)", "sh (==1.14.3)"]
[[package]]
name = "python-dateutil"
version = "2.8.2"
description = "Extensions to the standard Python datetime module"
category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
files = [
{file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"},
{file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"},
]
[package.dependencies]
six = ">=1.5"
[[package]]
name = "sh"
version = "1.14.3"
description = "Python subprocess replacement"
category = "main"
optional = false
python-versions = "*"
files = [
{file = "sh-1.14.3.tar.gz", hash = "sha256:e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7"},
]
[[package]]
name = "six"
version = "1.16.0"
description = "Python 2 and 3 compatibility utilities"
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
files = [
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
]
[metadata]
lock-version = "2.0"
python-versions = "^3.8"
content-hash = "adf873e9e558309a0a45d9377b383b7f101407ca573f8bfb9a7734bed7d69762"

View file

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