mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
python3Packages.swh-storage: 3.1.0 -> 4.1.0
Diff: https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/compare/v3.1.0...v4.1.0 Changelog: https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v3.1.1 https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v3.1.2 https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v3.2.0 https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v3.3.0 https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v4.0.0 https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/v4.1.0
This commit is contained in:
parent
2bd851a243
commit
f5bdeee816
|
|
@ -12,6 +12,8 @@
|
||||||
iso8601,
|
iso8601,
|
||||||
mypy-extensions,
|
mypy-extensions,
|
||||||
psycopg,
|
psycopg,
|
||||||
|
psycopg-pool,
|
||||||
|
pyasyncore,
|
||||||
redis,
|
redis,
|
||||||
tenacity,
|
tenacity,
|
||||||
swh-core,
|
swh-core,
|
||||||
|
|
@ -30,7 +32,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "swh-storage";
|
pname = "swh-storage";
|
||||||
version = "3.1.0";
|
version = "4.1.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
|
|
@ -39,7 +41,7 @@ buildPythonPackage rec {
|
||||||
owner = "devel";
|
owner = "devel";
|
||||||
repo = "swh-storage";
|
repo = "swh-storage";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-Bxwc8OccmqadLjHtmhToHBYHGkD7Fw3Cl3go9VLV/Bs=";
|
hash = "sha256-JXeHE/wZ3Wcf1I1eGyCNlCGsreiQH6kCYZoDXV1h0A0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|
@ -47,6 +49,11 @@ buildPythonPackage rec {
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
# we patched click 8.2.1
|
||||||
|
"click"
|
||||||
|
];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
backports-entry-points-selectable
|
backports-entry-points-selectable
|
||||||
cassandra-driver
|
cassandra-driver
|
||||||
|
|
@ -56,13 +63,14 @@ buildPythonPackage rec {
|
||||||
iso8601
|
iso8601
|
||||||
mypy-extensions
|
mypy-extensions
|
||||||
psycopg
|
psycopg
|
||||||
|
psycopg-pool
|
||||||
|
pyasyncore
|
||||||
redis
|
redis
|
||||||
tenacity
|
tenacity
|
||||||
swh-core
|
swh-core
|
||||||
swh-model
|
swh-model
|
||||||
swh-objstorage
|
swh-objstorage
|
||||||
]
|
];
|
||||||
++ psycopg.optional-dependencies.pool;
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "swh.storage" ];
|
pythonImportsCheck = [ "swh.storage" ];
|
||||||
|
|
||||||
|
|
@ -88,11 +96,13 @@ buildPythonPackage rec {
|
||||||
"swh/storage/tests/test_cassandra_migration.py"
|
"swh/storage/tests/test_cassandra_migration.py"
|
||||||
"swh/storage/tests/test_cassandra_ttl.py"
|
"swh/storage/tests/test_cassandra_ttl.py"
|
||||||
"swh/storage/tests/test_cli_cassandra.py"
|
"swh/storage/tests/test_cli_cassandra.py"
|
||||||
|
"swh/storage/tests/test_cli_object_references_cassandra.py"
|
||||||
# Failing tests
|
# Failing tests
|
||||||
"swh/storage/tests/test_cli_object_references.py"
|
"swh/storage/tests/test_cli_object_references.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
changelog = "https://gitlab.softwareheritage.org/swh/devel/swh-storage/-/tags/${src.tag}";
|
||||||
description = "Abstraction layer over the archive, allowing to access all stored source code artifacts as well as their metadata";
|
description = "Abstraction layer over the archive, allowing to access all stored source code artifacts as well as their metadata";
|
||||||
homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-storage";
|
homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-storage";
|
||||||
license = lib.licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue