chg: Bump deps, use pytest

pull/818/head
Raphaël Vinot 2021-12-20 11:18:43 +01:00
parent bc37a03174
commit 4e3b705b0d
3 changed files with 404 additions and 344 deletions

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
steps: steps:
@ -37,7 +37,7 @@ jobs:
- name: Test with nosetests - name: Test with nosetests
run: | run: |
poetry run nosetests-3.4 --with-coverage --cover-xml --cover-package=pymisp,tests --cover-tests tests/test_*.py poetry run pytest --cov=pymisp tests/test_*.py
poetry run mypy tests/testlive_comprehensive.py tests/test_mispevent.py tests/testlive_sync.py pymisp poetry run mypy tests/testlive_comprehensive.py tests/test_mispevent.py tests/testlive_sync.py pymisp
poetry run flake8 --ignore=E501,W503,E226,E252 pymisp poetry run flake8 --ignore=E501,W503,E226,E252 pymisp

728
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,7 @@ beautifulsoup4 = {version = "^4.10.0", optional = true}
validators = {version = "^0.18.2", optional = true} validators = {version = "^0.18.2", optional = true}
sphinx-autodoc-typehints = {version = "^1.12.0", optional = true} sphinx-autodoc-typehints = {version = "^1.12.0", optional = true}
recommonmark = {version = "^0.7.1", optional = true} recommonmark = {version = "^0.7.1", optional = true}
reportlab = {version = "^3.6.2", optional = true} reportlab = {version = "^3.6.3", optional = true}
pyfaup = {version = "^1.2", optional = true} pyfaup = {version = "^1.2", optional = true}
chardet = {version = "^4.0", optional = true} chardet = {version = "^4.0", optional = true}
urllib3 = {extras = ["brotli"], version = "^1.26.7", optional = true} urllib3 = {extras = ["brotli"], version = "^1.26.7", optional = true}
@ -73,18 +73,16 @@ email = ['extract_msg', "RTFDE", "oletools"]
brotli = ['urllib3'] brotli = ['urllib3']
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
nose = "^1.3.7"
coveralls = "^3.2.0"
codecov = "^2.1.12"
requests-mock = "^1.9.3" requests-mock = "^1.9.3"
mypy = "^0.910" mypy = "^0.920"
flake8 = "^4.0.1" flake8 = "^4.0.1"
ipython = "^7.16.1" ipython = "^7.16.1"
jupyterlab = "^3.2" jupyterlab = "^3.2"
types-requests = "^2.25.10" types-requests = "^2.26.2"
types-python-dateutil = "^2.8.1" types-python-dateutil = "^2.8.3"
types-redis = "^3.5.12" types-redis = "^4.0.4"
types-Flask = "^1.1.4" types-Flask = "^1.1.6"
pytest-cov = "^3.0.0"
[build-system] [build-system]
requires = ["poetry_core>=1.0", "setuptools"] requires = ["poetry_core>=1.0", "setuptools"]