Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cves #11

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ repos:
rev: v2.38.4
hooks:
- id: pyupgrade
name: Rewrite Code to be Py3.7+
args: [--py37-plus]
name: Rewrite Code to be Py3.8+
args: [--py38-plus]

- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
args: [--py37-plus]
args: [--py38-plus]

- repo: https://github.com/psf/black
rev: 22.3.0
Expand All @@ -82,18 +82,6 @@ repos:
- repo: https://github.com/saltstack/pip-tools-compile-impersonate
rev: '4.1'
hooks:
- id: pip-tools-compile
alias: compile-3.7-test-requirements
name: Py3.7 Test Requirements
files: ^requirements/tests.in$
pass_filenames: false
args:
- -v
- --py-version=3.7
- --platform=linux
- --no-emit-index-url
- requirements/tests.in

- id: pip-tools-compile
alias: compile-3.8-test-requirements
name: Py3.8 Test Requirements
Expand Down Expand Up @@ -130,6 +118,18 @@ repos:
- --no-emit-index-url
- requirements/tests.in

- id: pip-tools-compile
alias: compile-3.11-test-requirements
name: Py3.11 Test Requirements
files: ^requirements/tests.in$
pass_filenames: false
args:
- -v
- --py-version=3.11
- --platform=linux
- --no-emit-index-url
- requirements/tests.in

# <---- Testing Static Requirements -------------------------------------------------------------------------------------

# ----- Docs -------------------------------------------------------------------------------------------------->
Expand Down
14 changes: 5 additions & 9 deletions requirements/py3.10/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ aiofiles==0.8.0
# via
# acct
# dict-toolbox
aiohttp[speedups]==3.8.1
aiohttp[speedups]==3.9.4
# via pop-aiohttp
aiosignal==1.2.0
# via aiohttp
Expand All @@ -32,17 +32,13 @@ brotli==1.0.9
# via aiohttp
bs4==0.0.1
# via -r requirements/base.txt
cchardet==2.1.7
# via aiohttp
cffi==1.15.0
# via
# cryptography
# pycares
charset-normalizer==2.0.12
# via aiohttp
colored==1.4.3
# via rend
cryptography==37.0.2
cryptography==42.0.2
# via acct
dict-toolbox==2.2.0
# via
Expand All @@ -54,11 +50,11 @@ frozenlist==1.3.0
# via
# aiohttp
# aiosignal
idna==3.3
idna==3.7
# via yarl
iniconfig==1.1.1
# via pytest
jinja2==3.0.3
jinja2==3.1.3
# via rend
markupsafe==2.1.1
# via jinja2
Expand Down Expand Up @@ -125,7 +121,7 @@ pytest==7.1.1
# -r requirements/tests.in
# pytest-asyncio
# pytest-pop
pyyaml==6.0
pyyaml==6.0.1
# via
# acct
# dict-toolbox
Expand Down
123 changes: 49 additions & 74 deletions requirements/py3.7/tests.txt → requirements/py3.11/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,160 +2,135 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --no-emit-index-url --output-file=requirements/py3.7/tests.txt requirements/tests.in
# pip-compile --no-emit-index-url --output-file=requirements/py3.11/tests.txt requirements/tests.in
#
acct==6.5.1
acct==8.6.2
# via pop-aiohttp
aiodns==3.0.0
aiodns==3.2.0
# via aiohttp
aiofiles==0.8.0
aiofiles==23.2.1
# via
# acct
# dict-toolbox
aiohttp[speedups]==3.8.1
aiohttp[speedups]==3.9.5
# via pop-aiohttp
aiosignal==1.2.0
# via aiohttp
async-timeout==4.0.2
aiosignal==1.3.1
# via aiohttp
asynctest==0.13.0
# via
# -r requirements/tests.in
# aiohttp
# pytest-pop
attrs==21.4.0
# via
# aiohttp
# pytest
beautifulsoup4==4.11.1
# via -r requirements/tests.in
attrs==23.2.0
# via aiohttp
beautifulsoup4==4.12.3
# via bs4
brotli==1.0.9
brotli==1.1.0
# via aiohttp
bs4==0.0.1
bs4==0.0.2
# via -r requirements/base.txt
cchardet==2.1.7
# via aiohttp
cffi==1.15.0
cffi==1.16.0
# via
# cryptography
# pycares
charset-normalizer==2.0.12
# via aiohttp
colored==1.4.3
colorama==0.4.6
# via rend
cryptography==37.0.2
cryptography==42.0.5
# via acct
dict-toolbox==2.2.0
dict-toolbox==5.0.0
# via
# acct
# pop
# pop-config
# pytest-pop
# rend
frozenlist==1.3.0
frozenlist==1.4.1
# via
# aiohttp
# aiosignal
idna==3.3
idna==3.7
# via yarl
importlib-metadata==4.11.3
# via
# pluggy
# pytest
iniconfig==1.1.1
iniconfig==2.0.0
# via pytest
jinja2==3.0.3
jinja2==3.1.3
# via rend
markupsafe==2.1.1
lazy-object-proxy==1.10.0
# via pop
markupsafe==2.1.5
# via jinja2
mock==4.0.3
mock==5.1.0
# via
# -r requirements/tests.in
# pytest-pop
msgpack==1.0.3
msgpack==1.0.8
# via
# acct
# dict-toolbox
multidict==6.0.2
# pop-serial
multidict==6.0.5
# via
# aiohttp
# yarl
nest-asyncio==1.5.4
nest-asyncio==1.6.0
# via
# pop-loop
# pytest-pop
packaging==21.3
packaging==24.0
# via pytest
pluggy==1.0.0
pluggy==1.5.0
# via pytest
pop-aiohttp==1.0.0
pop-aiohttp==1.2.0
# via -r requirements/base.txt
pop-config==9.0.0
pop-config==12.0.4
# via
# acct
# pop
# pop-aiohttp
pop-loop==1.0.4
# pytest-pop
pop-loop==1.1.0
# via
# pop
# pop-aiohttp
pop==21.0.1
pop-serial==2.0.0
# via acct
pop==27.1.0
# via
# -r requirements/base.txt
# acct
# pop-aiohttp
# pop-config
# pop-loop
# pop-serial
# pytest-pop
# rend
proxy-tools==0.1.0
# via pop
py==1.11.0
# via pytest
pycares==4.2.2
pycares==4.4.0
# via aiodns
pycparser==2.21
pycparser==2.22
# via cffi
pyparsing==3.0.7
# via packaging
pytest-async==0.1.1
# via pytest-pop
pytest-asyncio==0.18.2
pytest-asyncio==0.18.3
# via
# -r requirements/tests.in
# pytest-pop
pytest-pop==8.0.1
pytest-pop==12.0.0
# via -r requirements/tests.in
pytest==7.1.1
pytest==8.1.1
# via
# -r requirements/tests.in
# pytest-asyncio
# pytest-pop
pyyaml==6.0
pyyaml==6.0.1
# via
# acct
# dict-toolbox
# pop
# rend
rend==6.4.2
rend==7.0.2
# via
# acct
# pop-config
sniffio==1.2.0
sniffio==1.3.1
# via pop-loop
soupsieve==2.3.2.post1
soupsieve==2.5
# via beautifulsoup4
toml==0.10.2
# via rend
tomli==2.0.1
# via pytest
typing-extensions==4.1.1
# via
# aiohttp
# async-timeout
# importlib-metadata
# pytest-asyncio
# yarl
yarl==1.7.2
yarl==1.9.4
# via aiohttp
zipp==3.7.0
# via importlib-metadata
14 changes: 5 additions & 9 deletions requirements/py3.8/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ aiofiles==0.8.0
# via
# acct
# dict-toolbox
aiohttp[speedups]==3.8.1
aiohttp[speedups]==3.9.4
# via pop-aiohttp
aiosignal==1.2.0
# via aiohttp
Expand All @@ -32,17 +32,13 @@ brotli==1.0.9
# via aiohttp
bs4==0.0.1
# via -r requirements/base.txt
cchardet==2.1.7
# via aiohttp
cffi==1.15.0
# via
# cryptography
# pycares
charset-normalizer==2.0.12
# via aiohttp
colored==1.4.3
# via rend
cryptography==37.0.2
cryptography==42.0.2
# via acct
dict-toolbox==2.2.0
# via
Expand All @@ -54,11 +50,11 @@ frozenlist==1.3.0
# via
# aiohttp
# aiosignal
idna==3.3
idna==3.7
# via yarl
iniconfig==1.1.1
# via pytest
jinja2==3.0.3
jinja2==3.1.3
# via rend
markupsafe==2.1.1
# via jinja2
Expand Down Expand Up @@ -125,7 +121,7 @@ pytest==7.1.1
# -r requirements/tests.in
# pytest-asyncio
# pytest-pop
pyyaml==6.0
pyyaml==6.0.1
# via
# acct
# dict-toolbox
Expand Down
Loading
Loading