Skip to content

Commit

Permalink
chore: freeze python dependencies (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume authored Feb 26, 2024
1 parent a1b2ba6 commit 65490cc
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 46 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: "
9 changes: 9 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ bases:
run-on:
- name: ubuntu
channel: "22.04"

parts:
charm:
build-packages:
- cargo
- libffi-dev
- libssl-dev
- pkg-config
- rustc
18 changes: 0 additions & 18 deletions renovate.json

This file was deleted.

13 changes: 13 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
httpx
ipaddress
ops
jinja2
juju==3.3.1.1
lightkube
lightkube-models
macaddress
pydantic==2.5.3
pydantic_extra_types
pytest-interface-tester
PyYAML>=6.0.1
cosl # required by prometheus_k8s.v0.prometheus_scrape
193 changes: 181 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,182 @@
httpx
ipaddress
ops
jinja2
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
#
annotated-types==0.6.0
# via pydantic
anyio==4.3.0
# via httpx
bcrypt==4.1.2
# via paramiko
cachetools==5.3.2
# via google-auth
certifi==2024.2.2
# via
# httpcore
# httpx
# kubernetes
# requests
cffi==1.16.0
# via
# cryptography
# pynacl
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via typer
cosl==0.0.8
# via -r requirements.in
cryptography==42.0.5
# via paramiko
google-auth==2.28.1
# via kubernetes
h11==0.14.0
# via httpcore
httpcore==1.0.4
# via httpx
httpx==0.27.0
# via
# -r requirements.in
# lightkube
hvac==2.1.0
# via juju
idna==3.6
# via
# anyio
# httpx
# requests
iniconfig==2.0.0
# via pytest
ipaddress==1.0.23
# via -r requirements.in
jinja2==3.1.3
# via -r requirements.in
juju==3.3.1.1
lightkube
lightkube-models
macaddress
pydantic>=2
pydantic_extra_types
pytest-interface-tester
PyYAML>=6.0.1
cosl # required by prometheus_k8s.v0.prometheus_scrape
# via -r requirements.in
kubernetes==29.0.0
# via juju
lightkube==0.15.2
# via -r requirements.in
lightkube-models==1.29.0.7
# via
# -r requirements.in
# lightkube
macaddress==2.0.2
# via -r requirements.in
macaroonbakery==1.3.4
# via juju
markupsafe==2.1.5
# via jinja2
mypy-extensions==1.0.0
# via typing-inspect
oauthlib==3.2.2
# via
# kubernetes
# requests-oauthlib
ops==2.10.0
# via
# -r requirements.in
# cosl
# ops-scenario
ops-scenario==6.0.1
# via pytest-interface-tester
packaging==23.2
# via
# juju
# pytest
paramiko==3.4.0
# via juju
pluggy==1.4.0
# via pytest
protobuf==4.25.3
# via macaroonbakery
pyasn1==0.5.1
# via
# juju
# pyasn1-modules
# rsa
pyasn1-modules==0.3.0
# via google-auth
pycparser==2.21
# via cffi
pydantic==2.5.3
# via
# -r requirements.in
# pydantic-extra-types
# pytest-interface-tester
pydantic-core==2.14.6
# via pydantic
pydantic-extra-types==2.5.0
# via -r requirements.in
pymacaroons==0.13.0
# via macaroonbakery
pynacl==1.5.0
# via
# macaroonbakery
# paramiko
# pymacaroons
pyrfc3339==1.1
# via
# juju
# macaroonbakery
pytest==8.0.2
# via pytest-interface-tester
pytest-interface-tester==2.0.1
# via -r requirements.in
python-dateutil==2.8.2
# via kubernetes
pytz==2024.1
# via pyrfc3339
pyyaml==6.0.1
# via
# -r requirements.in
# cosl
# juju
# kubernetes
# lightkube
# ops
# ops-scenario
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
# kubernetes
# macaroonbakery
# pymacaroons
# python-dateutil
sniffio==1.3.1
# via
# anyio
# httpx
toposort==1.10
# via juju
typer==0.7.0
# via pytest-interface-tester
typing-extensions==4.10.0
# via
# cosl
# pydantic
# pydantic-core
# typing-inspect
typing-inspect==0.9.0
# via juju
urllib3==2.2.1
# via
# kubernetes
# requests
websocket-client==1.7.0
# via
# kubernetes
# ops
websockets==12.0
# via juju
18 changes: 18 additions & 0 deletions test-requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
black
coverage[toml]
flake8-docstrings
flake8-builtins
isort
juju
macaroonbakery==1.3.4 # https://protobuf.dev/news/2022-05-06/#python-updates
mypy
pep8-naming
pyproject-flake8
pytest
pytest-asyncio==0.21.1
pytest-interface-tester
pydantic==2.5.3
pytest-operator
types-PyYAML
types-setuptools
types-toml
Loading

0 comments on commit 65490cc

Please sign in to comment.