Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Mar 26, 2024
1 parent 67a61e5 commit 2f7152e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 54 deletions.
19 changes: 1 addition & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 5 additions & 35 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
url = github:dzmitry-lahoda-forks/scip/7f083e91574527c8fb788c608e3b47f39217b47b;
inputs.nixpkgs.follows = "nixpkgs";
};
strictly-typed-pandas-src = {
url = "github:nanne-aben/strictly_typed_pandas";
flake = false;
};

maturin-src = {
url = "github:PyO3/maturin";
Expand Down Expand Up @@ -200,22 +196,6 @@
checkGroups = [];
};


# https://github.com/nanne-aben/strictly_typed_pandas/issues/140
strictly-typed-pandas-latest = pkgs.python3Packages.buildPythonPackage {
name = "strictly-typed-pandas";
version = "0.0.1";
format = "pyproject";

src = inputs.strictly-typed-pandas-src;

nativeBuildInputs = with pkgs.python3Packages; [
poetry-core
setuptools
setuptools-git-versioning
];
};

scipy-latest = pkgs.python3Packages.buildPythonPackage {
name = "scipy";
version = "0.0.1";
Expand Down Expand Up @@ -338,7 +318,6 @@
cvxpy = cvxpy-latest;

maturin = maturin-latest;
strictly-typed-pandas = strictly-typed-pandas-latest;
});

envShell = mkPoetryEnv {
Expand Down Expand Up @@ -416,39 +395,30 @@
OSMOSIS_POOLS = env.OSMOSIS_POOLS;
ASTROPORT_POOLS = env.ASTROPORT_POOLS;
SKIP_MONEY = env.SKIP_MONEY;
LD_LIBRARY_PATH = pkgs.lib.strings.makeLibraryPath [
pkgs.stdenv.cc.cc.lib
pkgs.zlib
pkgs.zlib.dev
pkgs.zlib.out

"${inputs'.scip.packages.scip}/lib"
];
BETTER_EXCEPTIONS = 1;

buildInputs =
[
pkgs.nix
pkgs.zlib
pkgs.zlib.dev
pkgs.zlib.out
inputs'.scip.packages.scip
devour-flake
envShell
pkgs.conda
pkgs.nix
pkgs.nodejs
pkgs.nodePackages.npm
pkgs.poetry
pkgs.pyo3-pack
pkgs.python3Packages.flit
pkgs.python3Packages.flit-core
pkgs.python3Packages.uvicorn
pkgs.stdenv.cc.cc.lib
pkgs.virtualenv
pkgs.zlib
pkgs.zlib.dev
pkgs.zlib.out
rust.cargo
rust.rustc
envShell
devour-flake
# pkgs.vscode-extensions.yzhang.markdown-all-in-one
# pkgs.vscode-extensions.ms-python.python
# pkgs.vscode-extensions.ms-python.vscode-pylance
Expand Down Expand Up @@ -477,7 +447,7 @@
cosmwasm-json-schema-ts
mantis-blackbox
pyscipopt-latest
maturin-latest
maturin-latest
;
all =
pkgs.linkFarmFromDrvs "all"
Expand Down
1 change: 0 additions & 1 deletion mantis/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ requests = "2.31.0"
rpds-py = "0.13.2"
scipy = "1.9.3"
pydantic-extra-types = "2.4.1"
strictly-typed-pandas = "0.1.24"
uvicorn = "0.25.0"
methodtools = "0.4.7"
tqdm = "^4.66.0"
Expand Down

0 comments on commit 2f7152e

Please sign in to comment.