aboutcode-org / aboutcode-org/vulnerablecode

Review failing GH workflows

Abierto
#952 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
702
Forks
328
Merge medio
3 d 8 h
PR fusionados (30 d)
3

Descripción

- 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.
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.