Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a012d0f

Browse files
committed
Update dependencies
1 parent e0acd87 commit a012d0f

File tree

6 files changed

+2041
-49
lines changed

6 files changed

+2041
-49
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,35 +45,29 @@ jobs:
4545
sudo apt install bubblewrap
4646
export PIPENV_VENV_IN_PROJECT=1
4747
export PIP_IGNORE_INSTALLED=1
48-
python -m pip install --no-cache-dir --user pip
49-
python -m pip install --no-cache-dir --user pipenv
48+
pip install --no-cache-dir --user pip setuptools pipenv
5049
5150
- name: Run tests
5251
run: |
53-
if [ -f requirements.txt ]; then python -m pipenv install --dev -r requirements.txt; fi
54-
if [ -f requirements-dev.txt ]; then python -m pipenv install --dev -r requirements-dev.txt; fi
55-
pipenv --python `python --version | grep -Eo '3\.[0-9]+'` sync --dev
56-
python -m pipenv run coverage run -m unittest
57-
58-
# - name: Run tests
59-
# run: |
60-
# if [ -f requirements.txt ]; then pipenv install --dev -r requirements.txt; fi
61-
# if [ -f requirements-dev.txt ]; then pipenv install --dev -r requirements-dev.txt; fi
62-
# bwrap \
63-
# --unshare-all \
64-
# --clearenv \
65-
# --setenv EXAMPLE VALUE \
66-
# --ro-bind / / \
67-
# --bind ${{ github.workspace }} ${{ github.workspace }} \
68-
# --tmpfs $HOME \
69-
# --tmpfs /tmp \
70-
# --tmpfs /var \
71-
# --tmpfs /run --dir /run/user/$(id -u) \
72-
# --dev /dev \
73-
# --proc /proc \
74-
# --die-with-parent \
75-
# --new-session \
76-
# python -m pipenv run coverage run -m unittest
52+
pipenv shell
53+
pipenv install -e .
54+
if [ -f requirements.txt ]; then pipenv install --dev -r requirements.txt; fi
55+
if [ -f requirements-dev.txt ]; then pipenv install --dev -r requirements-dev.txt; fi
56+
bwrap \
57+
--unshare-all \
58+
--clearenv \
59+
--setenv EXAMPLE VALUE \
60+
--ro-bind / / \
61+
--bind ${{ github.workspace }} ${{ github.workspace }} \
62+
--tmpfs $HOME \
63+
--tmpfs /tmp \
64+
--tmpfs /var \
65+
--tmpfs /run --dir /run/user/$(id -u) \
66+
--dev /dev \
67+
--proc /proc \
68+
--die-with-parent \
69+
--new-session \
70+
python -m pipenv run coverage run -m unittest
7771
7872
- name: Run linting
7973
run: pre-commit run --all-files

Pipfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
auth0-python = {editable = true, path = "."}
8+
aiohttp = "*"
9+
requests = "*"
10+
pyjwt = "*"
11+
12+
[dev-packages]
13+
black = "*"
14+
flake8 = "*"
15+
isort = "*"
16+
pre-commit = "*"
17+
pyupgrade = "*"
18+
19+
[test-packages]
20+
aioresponses = "*"
21+
callee = "*"
22+
coverage = "*"
23+
mock = "*"
24+
pre-commit = "*"
25+
pytest = "*"
26+
responses = "*"
27+
28+
[crypto-packages]
29+
cryptography = "*"
30+
31+
[docs-packages]
32+
sphinx = "*"
33+
sphinx-mdinclude = "*"
34+
sphinx-rtd-theme = "*"
35+
36+
[requires]
37+
python_version = "3.7"

0 commit comments

Comments
 (0)