Merge pull request #114703 from fabaff/bump-httpx

This commit is contained in:
Martin Weinelt 2021-03-01 15:32:49 +01:00 committed by GitHub
commit 5cb6dbf0a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 15 deletions

View File

@ -9,15 +9,15 @@
buildPythonPackage rec {
pname = "elmax";
version = "0.1.0";
version = "0.1.1";
format = "pyproject";
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "python-elmax";
rev = version;
sha256 = "0np3ixw8khrzb7hd8ly8xv349vnas0myfv9s0ahic58r1l9lcwa4";
sha256 = "sha256-vDISJ/CVOjpM+GPF2TCm3/AMFTWTM0b/+ZPCpAEvNvY=";
};
nativeBuildInputs = [ poetry-core ];

View File

@ -18,14 +18,14 @@
buildPythonPackage rec {
pname = "httpx";
version = "0.16.1";
version = "0.17.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "encode";
repo = pname;
rev = version;
sha256 = "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a";
sha256 = "sha256-pRdhPAxKZOVbRhOm4881Dn+IRtpX5T3oFuYdtWp3cgY=";
};
propagatedBuildInputs = [

View File

@ -1,20 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, httpx, pytest }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pytest
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-httpx";
version = "0.10.1";
version = "0.11.0";
src = fetchPypi {
inherit version;
pname = "pytest_httpx";
extension = "tar.gz";
sha256 = "13ld6nnsc3f7i4zl4qm1jh358z0awr6xfk05azwgngmjb7jmcz0a";
src = fetchFromGitHub {
owner = "Colin-b";
repo = "pytest_httpx";
rev = "v${version}";
sha256 = "08idd3y6khxjqkn46diqvkjvsl4w4pxhl6z1hspbkrj0pqwf9isi";
};
propagatedBuildInputs = [ httpx pytest ];
propagatedBuildInputs = [
httpx
pytest
];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
# not in pypi tarball
doCheck = false;
pythonImportsCheck = [ "pytest_httpx" ];
meta = with lib; {

View File

@ -87,6 +87,7 @@ in with py.pkgs; buildPythonApplication rec {
--replace "bcrypt==3.1.7" "bcrypt>=3.1.7" \
--replace "awesomeversion==21.2.2" "awesomeversion>=21.2.2" \
--replace "cryptography==3.2" "cryptography" \
--replace "httpx==0.16.1" "httpx>=0.16.1" \
--replace "pip>=8.0.3,<20.3" "pip" \
--replace "pytz>=2020.5" "pytz>=2020.4" \
--replace "pyyaml==5.4.1" "pyyaml" \