-
Notifications
You must be signed in to change notification settings - Fork 306
Comparing changes
Open a pull request
base repository: testcontainers/testcontainers-python
base: testcontainers-v4.2.0
head repository: testcontainers/testcontainers-python
compare: testcontainers-v4.3.0
Commits on Mar 24, 2024
-
fix(kafka): wait_for_logs in kafka container to reduce lib requirement (
Configuration menu - View commit details
-
Copy full SHA for 909107b - Browse repository at this point
Copy the full SHA 909107bView commit details -
fix(keycloak): container should use dedicated API endpoints to determ…
…ine container readiness (#490) As decided to support v18.0 image or newer, we should use these dedicated API endpoints to determine container readiness. These endpoints became introduced with v18.0.
Configuration menu - View commit details
-
Copy full SHA for 2e27225 - Browse repository at this point
Copy the full SHA 2e27225View commit details
Commits on Mar 27, 2024
-
feat(client): Add custom User-Agent in Docker client as `tc-python/<v…
…ersion>` (#507) Set User-Agent in format `tc-python/<version>`, `version` value is coming from `pyproject.toml`. The `User-Agent` header will allow to identify Testcontainers language implementation and the specific version. Also, track the usage of the library.
Configuration menu - View commit details
-
Copy full SHA for dd55082 - Browse repository at this point
Copy the full SHA dd55082View commit details -
fix: pass doctests, s/doctest/doctests/, run them in gha, s/asyncpg/p…
…sycopg/ in doctest, fix keycloak flakiness: wait for first user (#505) Doctests are run as interpreted code from docstrings. In order to run these tests, libraries need to be available for the example code, and usage of async code either needs to be wrapped in an `asyncio` call or avoided completely. This PR fixes up all failing doctests and makes `make doctests` target run successfully again. Summary: - Renames Make target `doctest` to `doctests` to follow naming convention from `tests` target - Adds `doctests` step to Github Action workflow runs - Replaces `asyncpg` example from `index.rst` with `psycopg` to be able to run as a doctest. Also added `psycopg` as dev dependency (`asyncpg` was already missing from here) - Fixes Keycloak doctest by providing expected output, also did the same for regular test - Also: Fixed `wait_for_container` method in `Keycloak` module to actually wait for the first user to be created (in order to be able to authenticate at all) before returning the started container, if the command is `dev-start`. This is needed in order to prevent race conditions in flaky tests and for the sample usage code.
Configuration menu - View commit details
-
Copy full SHA for 545240d - Browse repository at this point
Copy the full SHA 545240dView commit details
Commits on Mar 29, 2024
-
fix(core): allow setting docker command path for docker compose (#512)
fix #306 the original request was to remedy tc-python's dependency on docker-compose. this is something totally different but its what was asked for, so oh well. ¯\_(ツ)_/¯.
Configuration menu - View commit details
-
Copy full SHA for 63fcd52 - Browse repository at this point
Copy the full SHA 63fcd52View commit details
Commits on Mar 30, 2024
-
chore(build): improve devcontainers setup with poetry (#506)
1. Replaces uses an image directly. 2. Creates a custom image, still based off the original Image. 3. Installs poetry inside the container. This saves the user about 20 seconds every container load. 4. Installs `pre-commit` in the container. Saves more time. 5. Enables `pre-commit`. From inside the container the user cannot commit without `pre-commit` running. 6. Adds in git autocomplete to the container (see screenshot) 7. Adds in poetry autocomplete to the container (see screenshot)  --------- Co-authored-by: bstrausser <bstrausser@locusrobotics.com> Co-authored-by: David Ankin <daveankin@gmail.com> Co-authored-by: Bálint Bartha <39852431+totallyzen@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8fb4bcc - Browse repository at this point
Copy the full SHA 8fb4bccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8addc11 - Browse repository at this point
Copy the full SHA 8addc11View commit details -
fix(google): add support for Datastore emulator (#508)
Expands the google module with a DatastoreContainer using the beta Datastore emulator using the same image as the PubSubContainer. Im already using a local copy of this in production. It would be nice to not have to support copy paste solutions and instead see it added to the google module. This is my first PR so please let me know what I need to do to get this over the line. Thanks. Looks like @tillahoffmann wrote the original PubSub emulator container --------- Co-authored-by: Matt Oates <matt.oates@biorelate.com> Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3d891a5 - Browse repository at this point
Copy the full SHA 3d891a5View commit details -
fix: Add Weaviate module (#492)
This PR adds Weaviate module. --------- Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 90762e8 - Browse repository at this point
Copy the full SHA 90762e8View commit details -
fix(ryuk): Enable Ryuk test suite. Ryuk image 0.5.1 -> 0.7.0. Add RYU…
…K_RECONNECTION_TIMEOUT env variable (#509) - Re-enables the Ryuk test suite - Bumps Ryuk container image from 0.5.1 - > 0.7.0 - Add env variable `RYUK_RECONNECTION_TIMEOUT` (As documented in the [official Ryuk repo](https://github.com/testcontainers/moby-ryuk?tab=readme-ov-file#ryuk-configuration))
Configuration menu - View commit details
-
Copy full SHA for 472b2c2 - Browse repository at this point
Copy the full SHA 472b2c2View commit details -
fix: inconsistent test runs for community modules (#497)
- Fixed inconsistencies for community module test runs: using all supported Python versions - Pinned runner version (best practice) fixes #482
Configuration menu - View commit details
-
Copy full SHA for 914f1e5 - Browse repository at this point
Copy the full SHA 914f1e5View commit details -
fix: add chroma container (#515)
based on #477 --------- Co-authored-by: Trayan Azarov <trayan.azarov@amikos.tech>
Configuration menu - View commit details
-
Copy full SHA for 0729bf4 - Browse repository at this point
Copy the full SHA 0729bf4View commit details
Commits on Mar 31, 2024
-
fix: Add CassandraContainer (#476)
Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 507e466 - Browse repository at this point
Copy the full SHA 507e466View commit details -
This PR adds a module to spawn a [Qdrant](https://qdrant.tech) test container. --------- Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e8876f4 - Browse repository at this point
Copy the full SHA e8876f4View commit details -
fix(nats): Client-Free(ish) NATS container (#462)
Co-authored-by: bstrausser <bstrausser@locusrobotics.com> Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 302c73d - Browse repository at this point
Copy the full SHA 302c73dView commit details -
fix(kafka): Add redpanda testcontainer module (#441)
Co-authored-by: Gudjon Ragnar Brynjarsson <gudjon.brynjarsson@controlant.com> Co-authored-by: Dave Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 451d278 - Browse repository at this point
Copy the full SHA 451d278View commit details -
fix(new): add a new Docker Registry test container (#389)
I added a new test container for spinning up a [Docker registry](https://hub.docker.com/_/registry).
Configuration menu - View commit details
-
Copy full SHA for 0f554fb - Browse repository at this point
Copy the full SHA 0f554fbView commit details -
fix: Improved Oracle DB module (#363)
Hi, I took the liberty to improve the Oracle DB module for Testcontainers Python. The PR has several enhancements: * Leveraging `oracledb` thin Python driver * This makes Oracle DB tests on CI/CD now possible too * Usage of `gvenzl/oracle-free` image with the latest and greatest Oracle DB version * DB version independent readiness check * Support for various `gvenzl/oracle-free` image features (`ORACLE_DATABASE`, `APP_USER`, `APP_USER_PASSWORD`, etc) * Tests for Oracle DB for the various combinations Ideally, some more documentation on how the Container is supposed to be used would be handy but I couldn't really find a good example of how such a ReadMe should be structured. Any things are gladly appreciated! --------- Signed-off-by: gvenzl <gerald.venzl@gmail.com> Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com> Co-authored-by: David Ankin <daveankin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6e6d8e3 - Browse repository at this point
Copy the full SHA 6e6d8e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dee20a7 - Browse repository at this point
Copy the full SHA dee20a7View commit details
Commits on Apr 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bddbaeb - Browse repository at this point
Copy the full SHA bddbaebView commit details -
chore(main): release testcontainers 4.3.0 (#500)
🤖 I have created a release *beep* *boop* --- ## [4.3.0](testcontainers-v4.2.0...testcontainers-v4.3.0) (2024-04-01) ### Features * **client:** Add custom User-Agent in Docker client as `tc-python/<version>` ([#507](#507)) ([dd55082](dd55082)) ### Bug Fixes * Add CassandraContainer ([#476](#476)) ([507e466](507e466)) * add chroma container ([#515](#515)) ([0729bf4](0729bf4)) * Add Weaviate module ([#492](#492)) ([90762e8](90762e8)) * **cassandra:** make cassandra dependency optional/test-only ([#518](#518)) ([bddbaeb](bddbaeb)) * **core:** allow setting docker command path for docker compose ([#512](#512)) ([63fcd52](63fcd52)) * **google:** add support for Datastore emulator ([#508](#508)) ([3d891a5](3d891a5)) * Improved Oracle DB module ([#363](#363)) ([6e6d8e3](6e6d8e3)) * inconsistent test runs for community modules ([#497](#497)) ([914f1e5](914f1e5)) * **kafka:** Add redpanda testcontainer module ([#441](#441)) ([451d278](451d278)) * **kafka:** wait_for_logs in kafka container to reduce lib requirement ([#377](#377)) ([909107b](909107b)) * **keycloak:** container should use dedicated API endpoints to determine container readiness ([#490](#490)) ([2e27225](2e27225)) * **nats:** Client-Free(ish) NATS container ([#462](#462)) ([302c73d](302c73d)) * **new:** add a new Docker Registry test container ([#389](#389)) ([0f554fb](0f554fb)) * pass doctests, s/doctest/doctests/, run them in gha, s/asyncpg/psycopg/ in doctest, fix keycloak flakiness: wait for first user ([#505](#505)) ([545240d](545240d)) * pass updated keyword args to Publisher/Subscriber client in google/pubsub [#161](#161) ([#164](#164)) ([8addc11](8addc11)) * Qdrant module ([#463](#463)) ([e8876f4](e8876f4)) * remove accidentally added pip in dev dependencies ([#516](#516)) ([dee20a7](dee20a7)) * **ryuk:** Enable Ryuk test suite. Ryuk image 0.5.1 -> 0.7.0. Add RYUK_RECONNECTION_TIMEOUT env variable ([#509](#509)) ([472b2c2](472b2c2)) --- 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>
Configuration menu - View commit details
-
Copy full SHA for f819c7a - Browse repository at this point
Copy the full SHA f819c7aView commit details
There are no files selected for viewing