Skip to content

Commit

Permalink
python312Packages.wandb: 0.16.0 -> 0.18.5 (#350098)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Oct 24, 2024
2 parents 0d43af9 + d92fb02 commit 45ad88d
Show file tree
Hide file tree
Showing 5 changed files with 350 additions and 261 deletions.
34 changes: 25 additions & 9 deletions pkgs/development/python-modules/docker-pycreds/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
six,
pythonAtLeast,
distutils,
}:

buildPythonPackage rec {
pname = "docker-pycreds";
version = "0.4.0";
format = "setuptools";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4";
src = fetchFromGitHub {
owner = "shin-";
repo = "dockerpy-creds";
rev = "refs/tags/${version}";
hash = "sha256-yYsMsRW6Bb8vmwT0mPjs0pRqBbznGtHnGb3JNHjLjys=";
};

build-system = [
setuptools
];

dependencies =
[ six ]
++ lib.optionals (pythonAtLeast "3.12") [
distutils
];

pythonImportsCheck = [ "dockerpycreds" ];

# require docker-credential-helpers binaries
doCheck = false;

propagatedBuildInputs = [ six ];

meta = with lib; {
meta = {
description = "Python bindings for the docker credentials store API";
homepage = "https://github.com/shin-/dockerpy-creds";
license = licenses.asl20;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
69 changes: 69 additions & 0 deletions pkgs/development/python-modules/kubernetes-asyncio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
coreutils,

# build-system
setuptools,

# dependencies
aiohttp,
certifi,
python-dateutil,
pyyaml,
six,
urllib3,

# tests
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "kubernetes-asyncio";
version = "31.1.0";
pyproject = true;

src = fetchFromGitHub {
owner = "tomplus";
repo = "kubernetes_asyncio";
rev = "refs/tags/${version}";
hash = "sha256-YKBqhUeLqLiQ6bK235zTm4salnSLUxl4DUiFLQSjWqw=";
};

postPatch = ''
substituteInPlace kubernetes_asyncio/config/google_auth_test.py \
--replace-fail "/bin/echo" "${lib.getExe' coreutils "echo"}"
'';

build-system = [
setuptools
];

dependencies = [
aiohttp
certifi
python-dateutil
pyyaml
six
urllib3
];

pythonImportsCheck = [
"kubernetes_asyncio"
];

nativeCheckInputs = [
pytestCheckHook
];

__darwinAllowLocalNetworking = true;

meta = {
description = "Python asynchronous client library for Kubernetes http://kubernetes.io";
homepage = "https://github.com/tomplus/kubernetes_asyncio";
changelog = "https://github.com/tomplus/kubernetes_asyncio/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
Loading

0 comments on commit 45ad88d

Please sign in to comment.