Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flake.lock #97

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions flake.lock

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

4 changes: 4 additions & 0 deletions nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
packages = rec {
default = sbomnix;

# requests-ratelimiter currently does not support pyrate-limiter v3,
# see: https://github.com/JWCook/requests-ratelimiter/issues/78
pyrate-limiter = pp.buildPythonPackage rec {
version = "2.10.0";
pname = "pyrate-limiter";
Expand All @@ -29,6 +31,8 @@
];
};

# requests-ratelimiter currently does not support pyrate-limiter v3,
# see: https://github.com/JWCook/requests-ratelimiter/issues/78
requests-ratelimiter = pp.buildPythonPackage rec {
version = "0.4.0";
pname = "requests-ratelimiter";
Expand Down
3 changes: 0 additions & 3 deletions tests/test_sbomnix.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import shutil
from pathlib import Path
import json
import imghdr
henrirosten marked this conversation as resolved.
Show resolved Hide resolved
import pandas as pd
import jsonschema
import pytest
Expand Down Expand Up @@ -231,8 +230,6 @@ def test_nixgraph_png():
png_out = TEST_WORK_DIR / "graph.png"
_run_python_script([NIXGRAPH, TEST_NIX_RESULT, "--out", png_out, "--depth", "3"])
assert Path(png_out).exists()
# Check the output is valid png file
assert imghdr.what(png_out) == "png"


def test_nixgraph_csv():
Expand Down