Skip to content

Commit

Permalink
chore: Uses pip-tools and dependabot to manage dependencies and versi…
Browse files Browse the repository at this point in the history
…ons (#30)
  • Loading branch information
saltiyazan committed Jan 31, 2024
1 parent 18d091c commit fbd1617
Show file tree
Hide file tree
Showing 7 changed files with 301 additions and 33 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "chore: "

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "chore: "
2 changes: 0 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup LXD
uses: canonical/setup-lxd@main
with:
channel: 5.17/stable
- name: Setup operator environment
uses: charmed-kubernetes/actions-operator@main
with:
Expand Down
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

4 changes: 4 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ops
jsonschema
cryptography
parameterized
40 changes: 36 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
ops
jsonschema
cryptography
parameterized
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
#
attrs==23.2.0
# via
# jsonschema
# referencing
cffi==1.16.0
# via cryptography
cryptography==42.0.1
# via -r requirements.in
jsonschema==4.21.1
# via -r requirements.in
jsonschema-specifications==2023.12.1
# via jsonschema
ops==2.9.0
# via -r requirements.in
parameterized==0.9.0
# via -r requirements.in
pycparser==2.21
# via cffi
pyyaml==6.0.1
# via ops
referencing==0.32.1
# via
# jsonschema
# jsonschema-specifications
rpds-py==0.17.1
# via
# jsonschema
# referencing
websocket-client==1.7.0
# via ops
17 changes: 17 additions & 0 deletions test-requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
black
codespell
coverage[toml]
flake8 ==6.1.0
flake8-copyright
flake8-builtins
flake8-docstrings
isort
juju
mypy
pep8-naming
pyproject-flake8
pytest
pytest-operator
types-PyYAML
types-setuptools
types-toml
250 changes: 229 additions & 21 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,229 @@
black
codespell
coverage[toml]
cryptography
flake8 ==6.1.0
flake8-copyright
flake8-builtins
flake8-docstrings
isort
jsonschema
juju
mypy
ops
parameterized
pep8-naming
pyproject-flake8
pytest
pytest-operator
types-PyYAML
types-setuptools
types-toml
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --constraint=requirements.txt test-requirements.in
#
asttokens==2.4.1
# via stack-data
bcrypt==4.1.2
# via paramiko
black==24.1.0
# via -r test-requirements.in
cachetools==5.3.2
# via google-auth
certifi==2023.11.17
# via
# kubernetes
# requests
cffi==1.16.0
# via
# -c requirements.txt
# cryptography
# pynacl
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via black
codespell==2.2.6
# via -r test-requirements.in
coverage[toml]==7.4.0
# via -r test-requirements.in
cryptography==42.0.1
# via
# -c requirements.txt
# paramiko
decorator==5.1.1
# via
# ipdb
# ipython
executing==2.0.1
# via stack-data
flake8==6.1.0
# via
# -r test-requirements.in
# flake8-builtins
# flake8-docstrings
# pep8-naming
# pyproject-flake8
flake8-builtins==2.2.0
# via -r test-requirements.in
flake8-copyright==0.2.4
# via -r test-requirements.in
flake8-docstrings==1.7.0
# via -r test-requirements.in
google-auth==2.27.0
# via kubernetes
hvac==2.1.0
# via juju
idna==3.6
# via requests
iniconfig==2.0.0
# via pytest
ipdb==0.13.13
# via pytest-operator
ipython==8.20.0
# via ipdb
isort==5.13.2
# via -r test-requirements.in
jedi==0.19.1
# via ipython
jinja2==3.1.3
# via pytest-operator
juju==3.3.0.0
# via
# -r test-requirements.in
# pytest-operator
kubernetes==29.0.0
# via juju
macaroonbakery==1.3.4
# via juju
markupsafe==2.1.4
# via jinja2
matplotlib-inline==0.1.6
# via ipython
mccabe==0.7.0
# via flake8
mypy==1.8.0
# via -r test-requirements.in
mypy-extensions==1.0.0
# via
# black
# mypy
# typing-inspect
oauthlib==3.2.2
# via
# kubernetes
# requests-oauthlib
packaging==23.2
# via
# black
# pytest
paramiko==2.12.0
# via juju
parso==0.8.3
# via jedi
pathspec==0.12.1
# via black
pep8-naming==0.13.3
# via -r test-requirements.in
pexpect==4.9.0
# via ipython
platformdirs==4.1.0
# via black
pluggy==1.4.0
# via pytest
prompt-toolkit==3.0.43
# via ipython
protobuf==4.25.2
# via macaroonbakery
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
pyasn1==0.5.1
# via
# juju
# pyasn1-modules
# rsa
pyasn1-modules==0.3.0
# via google-auth
pycodestyle==2.11.1
# via flake8
pycparser==2.21
# via
# -c requirements.txt
# cffi
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.1.0
# via flake8
pygments==2.17.2
# via ipython
pymacaroons==0.13.0
# via macaroonbakery
pynacl==1.5.0
# via
# macaroonbakery
# paramiko
# pymacaroons
pyproject-flake8==6.1.0
# via -r test-requirements.in
pyrfc3339==1.1
# via
# juju
# macaroonbakery
pytest==7.4.4
# via
# -r test-requirements.in
# pytest-asyncio
# pytest-operator
pytest-asyncio==0.21.1
# via pytest-operator
pytest-operator==0.32.0
# via -r test-requirements.in
python-dateutil==2.8.2
# via kubernetes
pytz==2023.3.post1
# via pyrfc3339
pyyaml==6.0.1
# via
# -c requirements.txt
# juju
# kubernetes
# pytest-operator
requests==2.31.0
# via
# hvac
# kubernetes
# macaroonbakery
# requests-oauthlib
requests-oauthlib==1.3.1
# via kubernetes
rsa==4.9
# via google-auth
six==1.16.0
# via
# asttokens
# kubernetes
# macaroonbakery
# paramiko
# pymacaroons
# python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
stack-data==0.6.3
# via ipython
toposort==1.10
# via juju
traitlets==5.14.1
# via
# ipython
# matplotlib-inline
types-pyyaml==6.0.12.12
# via -r test-requirements.in
types-setuptools==69.0.0.20240125
# via -r test-requirements.in
types-toml==0.10.8.7
# via -r test-requirements.in
typing-extensions==4.9.0
# via
# mypy
# typing-inspect
typing-inspect==0.9.0
# via juju
urllib3==2.1.0
# via
# kubernetes
# requests
wcwidth==0.2.13
# via prompt-toolkit
websocket-client==1.7.0
# via
# -c requirements.txt
# kubernetes
websockets==12.0
# via juju

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit fbd1617

Please sign in to comment.