Merge pull request #247209 from fabaff/versioneer-bump

python311Packages.versioneer: 0.28 -> 0.29
This commit is contained in:
Fabian Affolter 2023-08-08 01:12:20 +02:00 committed by GitHub
commit 3a099a65fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3068 additions and 21 deletions

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "rdkafka";
version = "2.1.1";
version = "2.2.0";
src = fetchFromGitHub {
owner = "confluentinc";
repo = "librdkafka";
rev = "v${version}";
sha256 = "sha256-MwPRnD/S8o1gG6RWq2tKxqdpGum4FB5K8bHPAvlKW10=";
sha256 = "sha256-v/FjnDg22ZNQHmrUsPvjaCs4UQ/RPAxQdg9i8k6ba/4=";
};
nativeBuildInputs = [ pkg-config python3 which ];

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +1,47 @@
{ lib
, stdenv
, buildPythonPackage
, cmake
, confluent-kafka
, cyrus_sasl
, fetchFromGitHub
, rustPlatform
, setuptools-rust
, openssl
, pkg-config
, cyrus_sasl
, protobuf
, cmake
, gcc
, confluent-kafka
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, rustPlatform
, setuptools-rust
}:
buildPythonPackage rec {
pname = "bytewax";
version = "0.16.0";
version = "0.16.2";
format = "pyproject";
disabled = pythonAtLeast "3.11";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bytewax";
repo = pname;
rev = "v${version}";
hash = "sha256-XdFkFhN8Z15Zw5HZ2wmnNFoTzyRtIbB7TAtOpKwuKyY=";
rev = "refs/tags/v${version}";
hash = "sha256-PHjKEZMNhtLliOSGt4XHQFDm8Rc4TejQUVSqFN6Au38=";
};
env = {
OPENSSL_NO_VENDOR = true;
};
# Remove docs tests, myst-docutils in nixpkgs is not compatible with package requirements.
# Package uses old version.
patches = [ ./remove-docs-test.patch ];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
hash = "sha256-XGE1qPHi13/+8jjNCIgfzPudw561T0vUfJv5xnKySAg=";
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"columnation-0.1.0" = "sha256-RAyZKR+sRmeWGh7QYPZnJgX9AtWqmca85HcABEFUgX8=";
"timely-0.12.0" = "sha256-sZuVLBDCXurIe38m4UAjEuFeh73VQ5Jawy+sr3U/HbI=";
};
};
nativeBuildInputs = [
@ -53,18 +59,28 @@ buildPythonPackage rec {
protobuf
];
passthru.optional-dependencies = {
kafka = [
confluent-kafka
];
};
preCheck = ''
export PY_IGNORE_IMPORTMISMATCH=1
'';
checkInputs = [
pytestCheckHook
confluent-kafka
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"bytewax"
];
meta = with lib; {
description = "Python Stream Processing";
homepage = "https://github.com/bytewax/bytewax";
changelog = "https://github.com/bytewax/bytewax/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ mslingsby kfollesdal ];
# mismatched type expected u8, found i8

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "confluent-kafka";
version = "2.1.1";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "confluentinc";
repo = "confluent-kafka-python";
rev = "refs/tags/v${version}";
hash = "sha256-xnbovQRvbhaYYXnssV0Jy+U9L6BUddIagbup2jdTugY=";
hash = "sha256-6CdalNFKkgF7JUqCGtt4nB1/H3u4SVqt9xCAg5DR3T0=";
};
buildInputs = [
@ -62,6 +62,8 @@ buildPythonPackage rec {
disabledTestPaths = [
"tests/integration/"
"tests/test_Admin.py"
"tests/test_misc.py"
];
meta = with lib; {

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "versioneer";
version = "0.28";
version = "0.29";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "python-versioneer";
repo = "python-versioneer";
rev = "refs/tags/${version}";
hash = "sha256-Jy0c1I3kLgJAeGWzcgl5qVAWesf4EXaMIOW03B+1yWE=";
hash = "sha256-seYT/v691QB0LUzeI4MraegbNILU3tLO//9UbZIfe+A=";
};
nativeBuildInputs = [