Skip to content

Commit

Permalink
fix: enforce ops 2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu1nness committed Sep 30, 2024
1 parent 85a2bc3 commit d2d18c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/canonical/mongodb-k8s-operator"

[tool.poetry.dependencies]
python = "^3.10.12"
ops = "~2.15.0"
ops = "==2.15.0"
pymongo = "^4.7.3"
tenacity = "^8.2.3"
pyyaml = "^6.0.1"
Expand All @@ -28,7 +28,7 @@ pyOpenSSL = "^24.2.1"
setuptools = "^72.0.0"

[tool.poetry.group.charm-libs.dependencies]
ops = "~2.15.0"
ops = "==2.15.0"
pydantic = "^1.10.7" # cos_agent lib
cryptography = "^42.0.5" # tls_certificates lib v3
jsonschema = "^4.22.0" # tls_certificates lib v3
Expand Down Expand Up @@ -64,7 +64,7 @@ parameterized = "^0.9.0"

[tool.poetry.group.integration.dependencies]
allure-pytest = "^2.13.5"
ops = "~2.15.0"
ops = "==2.15.0"
tenacity = "^8.2.3"
pymongo = "^4.7.3"
parameterized = "^0.9.0"
Expand Down
1 change: 1 addition & 0 deletions tests/integration/ha_tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ async def get_direct_mongo_client(
username=username,
password=password,
)
logger.info(f"URI is {url}")
return MongoClient(url, directConnection=True)

mongodb_name = app_name or await get_application_name(ops_test, APP_NAME)
Expand Down

0 comments on commit d2d18c7

Please sign in to comment.