diff --git a/setup.py b/setup.py index cdad8859a..36eb58906 100644 --- a/setup.py +++ b/setup.py @@ -48,16 +48,16 @@ def run(self): INSTALL_REQUIRES = [ - 'aiohttp>=3.9.1', + 'aiohttp>=3.14.3', 'lxml>=4.9.2', - 'langcodes>=3.3.0', + 'langcodes>=3.5.1', 'langdetect>=1.0.9', 'picles.plumber>=0.11', - 'Pillow', - 'requests>=2.32.0', + 'Pillow>=12.3.0', + 'requests>=2.34.2', 'openpyxl>=3.1.5', - 'python-docx>=1.1.2', - 'tenacity>=8.2.3', + 'python-docx>=1.2.0', + 'tenacity>=8.5.0', ] @@ -75,7 +75,7 @@ def run(self): 'Flask-Testing>=0.6.2', 'flask-babel', 'Flask-WTF>=1.2.0', - 'python-magic', + 'python-magic>=0.4.27', 'charset-normalizer<3.0', ] diff --git a/tox.ini b/tox.ini index 4c69d6210..26ca0298e 100644 --- a/tox.ini +++ b/tox.ini @@ -12,14 +12,18 @@ deps = Flask-Testing flask-babel python-magic - charset-normalizer<3.0 + charset-normalizer aiohttp tenacity requests - scielo_scholarly_data @ git+https://github.com/scieloorg/scielo_scholarly_data#egg=scielo_scholarly_data + scielo_scholarly_data @ git+https://github.com/scieloorg/scielo_scholarly_data@v0.1.4#egg=scielo_scholarly_data commands_pre=pip install -e .[webapp] ; commands=python setup.py test -qv This works but will br deprecated on future release. -commands=python -m unittest -vvv +; discover -s tests -t . evita que o unittest tente importar +; packtools/sps/sps_versions/sps-1.9 e sps-1.10 como modulos de teste +; (o hifen no nome quebra o import, gerando ERROR espurio na descoberta +; ampla que "python -m unittest -vvv" faz a partir da raiz do projeto). +commands=python -m unittest discover -s tests -t . -vvv [console_scripts] stylechecker=packtools.stylechecker:main