Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.0.0. #330

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-or-unexpected-behavior.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ assignees: ''

---

⚠️ testcontainers-python version 4.0.0 introduces breaking changes. Please review the note in the documentation (https://testcontainers-python.readthedocs.io/) before filing a bug.

**Describe the bug**

A clear and concise description of what the bug is. What did you expect to happen? What happened instead?
Expand All @@ -24,7 +26,7 @@ raise RuntimeError("something went wrong")
Provide a summary of your runtime environment. Which operating system, python version, and docker version are you using? What is the version of `testcontainers-python` you are using? You can run the following commands to get the relevant information.

```bash
# Get the operating system information (on a unix os).
# Get the operating system information (e.g., on a unix os).
$ uname -a
# Get the python version.
$ python --version
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ requirements : ${REQUIREMENTS}
${REQUIREMENTS} : requirements/%.txt : requirements.in */setup.py
mkdir -p $(dir $@)
${RUN} -w /workspace -v `pwd`:/workspace --platform=linux/amd64 python:$* bash -c \
"pip install pip-tools && pip-compile --resolver=backtracking -v --upgrade -o $@ $<"
"pip install --upgrade pip pip-tools && pip-compile --resolver=backtracking -v --upgrade -o $@ $<"

# Remove any generated files.
clean :
Expand Down
12 changes: 11 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ testcontainers-python
.. image:: https://readthedocs.org/projects/testcontainers-python/badge/?version=latest
:target: http://testcontainers-python.readthedocs.io/en/latest/?badge=latest

testcontainers-python facilitates the use of Docker containers for functional and integration testing. The collection of packages currently supports the following features.
testcontainers-python facilitates the use of Docker containers for functional and integration testing.

.. note::

testcontainers-python version 4.0.0 introduces several breaking changes. To use an older version, add :code:`testcontainers-python<4` :code:`install_requires` in your :code:`setup.py` if you are building a package or your :code:`requirements.txt` for pinned dependencies.

- Container arguments, such as user name, database name, and ports have been unified across containers in `testcontainers/testcontainers-python#296 <https://github.com/testcontainers/testcontainers-python/pull/296>`__. You may have to update your code if you modify the default values. The unified arguments are :code:`username`, :code:`password`, :code:`dbname`, and :code:`port`. If a container exposes more than one port, the port name is :code:`[specific_name]_port`.
- Class-level configuration variables have been removed in `testcontainers/testcontainers-python#296 <https://github.com/testcontainers/testcontainers-python/pull/296>`__, and configuration variables should be specified using environment variables (as before) or specified in the constructor.
- The Google Cloud Pub/Sub client library was updated to v2 in `testcontainers/testcontainers-python#333 <https://github.com/testcontainers/testcontainers-python/pull/333>`__. This may result in breaking changes for users of the :class:`testcontainers.google.PubSubContainer`.

The collection of packages currently supports the following features.

.. toctree::

Expand Down
2 changes: 1 addition & 1 deletion arangodb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-arangodb",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion azurite/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-azurite",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion clickhouse/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-clickhouse",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion compose/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-compose",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-core",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-elasticsearch",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion google/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-gcp",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion kafka/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-kafka",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion keycloak/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-keycloak",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion localstack/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-localstack",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion meta/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setuptools.setup(
name="testcontainers",
version="4.0.0rc1",
version="4.0.0",
description=description,
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down
2 changes: 1 addition & 1 deletion minio/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-minio",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion mongodb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-mongodb",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion mssql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-mssql",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion mysql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-mysql",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion neo4j/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-neo4j",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion nginx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-nginx",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion opensearch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-opensearch",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion oracle/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-oracle",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion postgres/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-postgres",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion rabbitmq/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-rabbitmq",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion redis/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-redis",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down
2 changes: 1 addition & 1 deletion selenium/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="testcontainers-selenium",
version="0.0.1rc1",
version="0.1.0",
packages=find_namespace_packages(),
description=description,
long_description=description,
Expand Down