mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
python3Packages.typical: 2.7.9 -> 2.8.0
This commit is contained in:
parent
17113a7b69
commit
a404e49124
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fastjsonschema
|
, fastjsonschema
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, future-typing
|
, future-typing
|
||||||
, inflection
|
, inflection
|
||||||
, mypy
|
, mypy
|
||||||
|
@ -18,7 +19,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "typical";
|
pname = "typical";
|
||||||
version = "2.7.9";
|
version = "2.8.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -27,13 +28,9 @@ buildPythonPackage rec {
|
||||||
owner = "seandstewart";
|
owner = "seandstewart";
|
||||||
repo = "typical";
|
repo = "typical";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ITIsSM92zftnvqLiVGFl//IbBb8N3ffkkqohzOx2JO4=";
|
hash = "sha256-DRjQmoZzWw5vpwIx70wQg6EO/aHqyX7RWpWZ9uOxSTg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./use-poetry-core.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
@ -56,6 +53,15 @@ buildPythonPackage rec {
|
||||||
pandas
|
pandas
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Switch to poetry-core, https://github.com/seandstewart/typical/pull/193
|
||||||
|
(fetchpatch {
|
||||||
|
name = "switch-to-poetry-core.patch";
|
||||||
|
url = "https://github.com/seandstewart/typical/commit/66b3c34f8969b7fb1f684f0603e514405bab0dd7.patch";
|
||||||
|
sha256 = "sha256-c7qJOtHmJRnVEGl+OADB3HpjvMK8aYDD9+0gplOn9pQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# We use orjson
|
# We use orjson
|
||||||
"test_ujson"
|
"test_ujson"
|
||||||
|
@ -65,6 +71,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
"benchmark/"
|
"benchmark/"
|
||||||
|
# Tests are failing on Hydra
|
||||||
|
"tests/mypy/test_mypy.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/pyproject.toml b/pyproject.toml
|
|
||||||
index a588a0d..43da394 100644
|
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -154,7 +154,7 @@ exclude = '''
|
|
||||||
|
|
||||||
[build-system]
|
|
||||||
requires = ["poetry>=0.12"]
|
|
||||||
-build-backend = "poetry.masonry.api"
|
|
||||||
+build-backend = "poetry.core.masonry.api"
|
|
||||||
|
|
||||||
[bumpver]
|
|
||||||
current_version = "v2.7.5"
|
|
Loading…
Reference in a new issue