python3Packages.anyio: 3.1.0 -> 3.2.0
Fix version string by including setuptools-scm and setting a pretend version, so that we don't require other version hints.
This commit is contained in:
parent
dfa18fb29d
commit
0c51d277b8
@ -3,6 +3,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
, idna
|
, idna
|
||||||
, sniffio
|
, sniffio
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
@ -18,7 +19,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "anyio";
|
pname = "anyio";
|
||||||
version = "3.1.0";
|
version = "3.2.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
@ -29,6 +30,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-zQiSAQN7cp1s+8hDTvYaMkHUXV1ccNwIsl2IOztH7J8=";
|
sha256 = "sha256-zQiSAQN7cp1s+8hDTvYaMkHUXV1ccNwIsl2IOztH7J8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
idna
|
idna
|
||||||
sniffio
|
sniffio
|
||||||
|
Loading…
Reference in New Issue
Block a user