| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add OpenFGA testcontainer module Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
|
This is super useful. I am trying to run something like this locally but not having much success. Would love to see this native to testcontainers-python. |
Sorry, something went wrong.
|
So we got: modules/openfga/tests/test_openfga.py:1: in <module>
from testcontainers.openfga import OpenFGAContainer
modules/openfga/testcontainers/openfga/__init__.py:17: in <module>
from openfga_sdk import ClientConfiguration
E ImportError: cannot import name 'ClientConfiguration' from 'openfga_sdk'looks like a completability issue. Checking the lock file we get: name = "openfga-sdk"
version = "0.1.1"This is from Jan 18, 2023 |
Sorry, something went wrong.
poetry add openfga_sdk==0.9.4 Updating dependencies Resolving dependencies... (0.0s) The current project's supported Python range (>=3.9,<4.0) is not compatible with some of the required packages Python requirement: - openfga-sdk requires Python >=3.10, so it will not be installable for Python >=3.9,<3.10 https://github.com/openfga/python-sdk/blob/main/CHANGELOG.md#v020 |
Sorry, something went wrong.
|
this is currently blocked by python3.9 support. so because python3.9 is not supported the latest openfga sdk, and we support python3.9, poetry installs 0.1.1, which is not like 0.9.5 at all. i think this is solved by simply dropping python3.9 support. i think this may also be solved by not installing openfga on python < 3.10 any thoughts? |
Sorry, something went wrong.
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #762 +/- ##
=======================================
Coverage ? 83.90%
=======================================
Files ? 13
Lines ? 752
Branches ? 122
=======================================
Hits ? 631
Misses ? 92
Partials ? 29 ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
🤖 I have created a release *beep* *boop* --- ## [4.12.0](testcontainers-v4.11.0...testcontainers-v4.12.0) (2025-07-21) ### Features * **main:** New Testcontainers Python Docs Site ([#822](#822)) ([a6bdf0e](a6bdf0e)) * make config monkeypatchable, fix config related startup issues ([#833](#833)) ([ff6a32d](ff6a32d)) * **modules:** add OpenFGA module ([#762](#762)) ([0b7b482](0b7b482)) * set multiple variables via keyword args ([#804](#804)) ([1532df5](1532df5)) ### Bug Fixes * **core:** mypy ([#810](#810)) ([b816762](b816762)) * Enable mypy in the CI ([#842](#842)) ([ef65bd1](ef65bd1)) * just use the getLogger API and do not override logger settings ([#836](#836)) ([f467c84](f467c84)) ### Documentation * missing compose html from old docs ([#776](#776)) ([d749fc6](d749fc6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Add OpenFGA testcontainer module