Merge pull request #274725 from fabaff/environs-bump
python311Packages.environs: 9.5.0 -> 10.0.0
This commit is contained in:
@@ -14,17 +14,22 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "deezer-python";
|
||||
version = "6.1.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "browniebroke";
|
||||
repo = pname;
|
||||
repo = "deezer-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-pzEXiWKMP2Wqme/pqfTMHxWH/4YcCS6u865wslHrUqI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=deezer" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
@@ -41,15 +46,16 @@ buildPythonPackage rec {
|
||||
tornado
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=deezer" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"deezer"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# JSONDecodeError issue
|
||||
"test_get_user_flow"
|
||||
"test_with_language_header"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper around the Deezer API";
|
||||
homepage = "https://github.com/browniebroke/deezer-python";
|
||||
|
||||
@@ -8,22 +8,27 @@
|
||||
, pytestCheckHook
|
||||
, python-dotenv
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "environs";
|
||||
version = "9.5.0";
|
||||
format = "setuptools";
|
||||
version = "10.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sloria";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-hucApIn7ul7+MC2W811VTxZNO8Pqb6HDXz9VRcEdmIc=";
|
||||
repo = "environs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-B/ICzopFuOAWMlDn950LXmi/XQaQxh5jFVmLdmt7Dlg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
marshmallow
|
||||
python-dotenv
|
||||
@@ -43,6 +48,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python modle for environment variable parsing";
|
||||
homepage = "https://github.com/sloria/environs";
|
||||
changelog = "https://github.com/sloria/environs/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user