aboutcode-org / aboutcode-org/vulnerablecode

Review failing GH workflows

未關閉
#952 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
702
分支
328
平均合併
3 天 8 小時
30 天內合併 PR
3

描述

- https://github.com/nexB/vulnerablecode/actions/workflows/test-import-using-nix.yml
```

Run cd etc/nix
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3752 100 3752 0 0 34422 0 --:--:-- --:--:-- --:--:-- 34422
unpacking...
path is '/nix/store/gmfjk8v8vhvzxb0mk361nmx8j361b6q1-b129ca14ae920eabea5387a44de483854cf2b62c'

pypiDataRev = "b129ca14ae920eabea5387a44de483854cf2b62c"; # 2022-10-16T08:15:28Z
pypiDataSha256 = "1qhw68ckf6pf9ccgp80blk4w92bkxvm4fibj4vi7jkm074x91sya";
warning: Git tree '/home/runner/work/vulnerablecode/vulnerablecode' is dirty
error: --- TypeError --- nix
at: (29:17) in file: /nix/store/3y636cyg65639rb1fw1x0jvclg520jk9-source/etc/nix/flake.nix

28| # Extract version from setup.py.
29| version = builtins.head (builtins.match ''.*version=["']?([^"',]+).*''
| ^
30| (builtins.readFile (vulnerablecode-src + "/setup.py")));

value is null while a list was expected
(use '--show-trace' to show detailed location information)
Error: Process completed with exit code 1.
```

- https://github.com/nexB/vulnerablecode/actions/workflows/upstream_test.yml
```

Run make webtest
-> Run web tests
. venv/bin/activate; python3 -m pytest -vvs -m "webtest"
============================= test session starts ==============================
platform linux -- Python 3.8.11, pytest-7.1.1, pluggy-1.0.0 -- /home/runner/work/vulnerablecode/vulnerablecode/venv/bin/python3
cachedir: .pytest_cache
django: settings: vulnerablecode.settings (from ini)
rootdir: /home/runner/work/vulnerablecode/vulnerablecode, configfile: pyproject.toml
plugins: django-4.5.2
collecting ... collected 166 items / 166 deselected / 0 selected

=============================== warnings summary ===============================
venv/lib/python3.8/site-packages/django/conf/__init__.py:229
/home/runner/work/vulnerablecode/vulnerablecode/venv/lib/python3.8/site-packages/django/conf/__init__.py:229: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================== 166 deselected, 1 warning in 4.78s ======================
make: *** [Makefile:120: webtest] Error 5
Error: Process completed with exit code 2.
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。