Skip to content

Commit

Permalink
WIP: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed Jun 13, 2024
1 parent ad31a62 commit 677f418
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 29 deletions.
49 changes: 30 additions & 19 deletions packaging/nixos/aleph-vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ in

python312.pkgs.buildPythonPackage rec {
pname = "aleph-vm";
version = "0.4.0";
version = "0.4.1";
src = ../..;
format = "pyproject";
#src = fetchPypi {
Expand All @@ -27,7 +27,7 @@ in
pkgs.firecracker
pkgs.git
pkgs.git
pkgs.hatch
# pkgs.hatch
pkgs.ndppd
pkgs.redis
pkgs.squashfsTools
Expand All @@ -40,13 +40,14 @@ in
pkgs.python312Packages.alembic
pkgs.python312Packages.cryptography
pkgs.python312Packages.dbus-python
pkgs.python312Packages.eth-account
# pkgs.python312Packages.eth-account
pkgs.python312Packages.eth-hash
pkgs.python312Packages.eth-typing
pkgs.python312Packages.hatch-vcs
pkgs.python312Packages.hatchling
pkgs.python312Packages.jsonschema
pkgs.python312Packages.msgpack
pkgs.python312Packages.jwcrypto
pkgs.python312Packages.nftables
pkgs.python312Packages.packaging
pkgs.python312Packages.psutil
Expand All @@ -59,6 +60,7 @@ in
pkgs.python312Packages.setuptools
pkgs.python312Packages.sqlalchemy
pkgs.python312Packages.systemd
pkgs.python312Packages.sentry-sdk

# Test dependencies
pkgs.python312Packages.pytest
Expand All @@ -69,7 +71,7 @@ in
# Specific versions from PyPI
aioredis
aleph-message
jwskate
# jwskate
nftablesPyPI
qmp
superfluid
Expand Down Expand Up @@ -113,7 +115,12 @@ in
superfluid = python312.pkgs.buildPythonPackage rec {
pname = "superfluid";
version = "0.2.1";
src = /home/sepal/Repos/aleph-im/superfluid.py;
#src = /home/sepal/Repos/aleph-im/superfluid.py;
src = pkgs.fetchgit {
url = "https://github.com/aleph-im/superfluid.py";
rev = "ddf95fe13ebc30e631d005ce8b1cde260ab7be8c";
hash = "sha256-IQBSj9hD+1W/sJjw6IuCVbp59s9bboPQFfyTI73FNnc=";
};
propagatedBuildInputs = [
python312.pkgs.setuptools
decouple
Expand All @@ -130,21 +137,22 @@ in
};
};

jwskate = python312.pkgs.buildPythonPackage rec {
pname = "jwskate";
version = "0.11.1";
pyproject = true;
src = python312.pkgs.fetchPypi {
inherit pname version;
sha256 = "sha256-NTVLSHyOg1/dV77+pek+nlL+JYadiE/HZFEdIgYeZoU=";
};
# jwskate = python312.pkgs.buildPythonPackage rec {
# pname = "jwskate";
# version = "0.11.1";
# pyproject = true;
# src = python312.pkgs.fetchPypi {
# inherit pname version;
# sha256 = "sha256-NTVLSHyOg1/dV77+pek+nlL+JYadiE/HZFEdIgYeZoU=";
# };

propagatedBuildInputs = [
pkgs.python312Packages.hatchling
pkgs.python312Packages.hatch-vcs
binapy
];
};
# propagatedBuildInputs = [
# pkgs.python312Packages.hatchling
# pkgs.python312Packages.hatch-vcs
# pkgs.python312Packages.cryptography
# binapy
# ];
# };

binapy = python312.pkgs.buildPythonPackage rec {
pname = "binapy";
Expand All @@ -157,6 +165,7 @@ in

propagatedBuildInputs = [
pkgs.python312Packages.poetry-core
pkgs.python312Packages.typing-extensions
];
};

Expand All @@ -171,6 +180,8 @@ in

propagatedBuildInputs = [
python312.pkgs.setuptools
python312.pkgs.async-timeout
python312.pkgs.hiredis
];
};
}
2 changes: 1 addition & 1 deletion packaging/nixos/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ in
which

# User tools
hatch
# python312Packages.hatchling
helix
ndppd
vim
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@ classifiers = [
]
dependencies = [
"pydantic[dotenv]~=1.10.13",
"aiohttp==3.8.6",
"aiodns==3.1.0",
"aiohttp==3.9.5",
"aiodns==3.2.0",
"setproctitle==1.3.3",
"pyyaml==6.0.1",
"aleph-message==0.4.4",
"eth-account~=0.10",
"eth-account~=0.9",
"sentry-sdk==1.31.0",
"aioredis==1.3.1",
"psutil==5.9.5",
"psutil==5.9.8",
"py-cpuinfo==9.0.0",
"schedule==1.2.1",
"nftables @ git+https://salsa.debian.org/pkg-netfilter-team/pkg-nftables#egg=nftables&subdirectory=py",
"msgpack==1.0.7",
"packaging==23.2",
"jsonschema==4.19.1",
"msgpack==1.0.8",
"packaging==24.0",
"jsonschema==4.21.1",
"qmp==1.1.0",
"dbus-python==1.3.2",
"systemd-python==235",
"systemd-python==235",
"superfluid~=0.2.1",
"superfluid~=0.2.0",
"sqlalchemy[asyncio]>=2.0",
"aiosqlite==0.19.0",
"aiosqlite==0.20.0",
"alembic==1.13.1",
"aiohttp_cors~=0.7.0",
"pyroute2==0.7.12",
Expand Down

0 comments on commit 677f418

Please sign in to comment.