Merge pull request #313 from eReuse/dependabot/pip/numpy-1.22.0
Bump numpy from 1.21.6 to 1.22.0 & reorder dependencies.
This commit is contained in:
commit
b915a561b8
|
@ -47,7 +47,7 @@ jobs:
|
||||||
sudo apt-get update -qy
|
sudo apt-get update -qy
|
||||||
sudo apt-get -y install postgresql-client --no-install-recommends
|
sudo apt-get -y install postgresql-client --no-install-recommends
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install flake8 pytest coverage
|
pip install -r requirements-dev.txt
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Prepare database
|
- name: Prepare database
|
||||||
|
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
sudo apt-get update -qy
|
sudo apt-get update -qy
|
||||||
sudo apt-get -y install postgresql-client --no-install-recommends
|
sudo apt-get -y install postgresql-client --no-install-recommends
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install flake8 pytest coverage
|
pip install -r requirements-dev.txt
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -e .
|
pip install -e .
|
||||||
mkdir bin
|
mkdir bin
|
||||||
|
|
|
@ -3,11 +3,8 @@ Example app with minimal configuration.
|
||||||
|
|
||||||
Use this as a starting point.
|
Use this as a starting point.
|
||||||
"""
|
"""
|
||||||
import sentry_sdk
|
|
||||||
from decouple import config
|
|
||||||
|
|
||||||
# from flask_wtf.csrf import CSRFProtect
|
from decouple import config
|
||||||
from sentry_sdk.integrations.flask import FlaskIntegration
|
|
||||||
|
|
||||||
from ereuse_devicehub.api.views import api
|
from ereuse_devicehub.api.views import api
|
||||||
from ereuse_devicehub.config import DevicehubConfig
|
from ereuse_devicehub.config import DevicehubConfig
|
||||||
|
@ -17,11 +14,17 @@ from ereuse_devicehub.labels.views import labels
|
||||||
from ereuse_devicehub.views import core
|
from ereuse_devicehub.views import core
|
||||||
from ereuse_devicehub.workbench.views import workbench
|
from ereuse_devicehub.workbench.views import workbench
|
||||||
|
|
||||||
|
# from flask_wtf.csrf import CSRFProtect
|
||||||
|
|
||||||
|
|
||||||
# from werkzeug.contrib.profiler import ProfilerMiddleware
|
# from werkzeug.contrib.profiler import ProfilerMiddleware
|
||||||
|
|
||||||
|
|
||||||
SENTRY_DSN = config('SENTRY_DSN', None)
|
SENTRY_DSN = config('SENTRY_DSN', None)
|
||||||
if SENTRY_DSN:
|
if SENTRY_DSN:
|
||||||
|
import sentry_sdk
|
||||||
|
from sentry_sdk.integrations.flask import FlaskIntegration
|
||||||
|
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=SENTRY_DSN,
|
dsn=SENTRY_DSN,
|
||||||
integrations=[
|
integrations=[
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
black
|
black
|
||||||
|
coverage
|
||||||
isort
|
isort
|
||||||
flake8
|
flake8
|
||||||
pre-commit
|
pre-commit
|
||||||
|
pytest
|
||||||
|
selenium==4.1.5
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
sentry_sdk==1.6.0
|
||||||
|
blinker==1.4
|
|
@ -42,15 +42,12 @@ sortedcontainers==2.1.0
|
||||||
tqdm==4.32.2
|
tqdm==4.32.2
|
||||||
python-decouple==3.3
|
python-decouple==3.3
|
||||||
python-dotenv==0.14.0
|
python-dotenv==0.14.0
|
||||||
selenium==4.1.5
|
|
||||||
pyjwt==2.4.0
|
pyjwt==2.4.0
|
||||||
pint==0.9
|
pint==0.9
|
||||||
py-dmidecode==0.1.0
|
py-dmidecode==0.1.0
|
||||||
pandas==1.3.5
|
pandas==1.3.5
|
||||||
numpy==1.21.6
|
numpy==1.22.0 # pandas dependency
|
||||||
odfpy==1.4.1
|
odfpy==1.4.1 # pandas dependency
|
||||||
xlrd==2.0.1
|
xlrd==2.0.1 # pandas dependency
|
||||||
openpyxl==3.0.10
|
openpyxl==3.0.10 # pandas dependency
|
||||||
et_xmlfile==1.1.0
|
et_xmlfile==1.1.0 # pandas dependency
|
||||||
sentry_sdk==1.6.0
|
|
||||||
blinker==1.4
|
|
||||||
|
|
Reference in New Issue