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
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
, idna
|
||||
, sniffio
|
||||
, typing-extensions
|
||||
@ -18,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyio";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -29,6 +30,14 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-zQiSAQN7cp1s+8hDTvYaMkHUXV1ccNwIsl2IOztH7J8=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
idna
|
||||
sniffio
|
||||
|
Loading…
Reference in New Issue
Block a user