upload-images-to-minio #2

Merged
brian merged 5 commits from upload-images-to-minio into main 2025-09-18 20:03:13 +02:00
Owner
No description provided.
brian added 2 commits 2025-09-18 19:19:45 +02:00
added CI step to sync between label studio and output bucket in minio
Code Quality Pipeline / code-quality (pull_request) Successful in 1m20s
Test Python Package / test (pull_request) Successful in 49s
c3d60bbd44
brian added 1 commit 2025-09-18 19:20:30 +02:00
sorted imports
Code Quality Pipeline / code-quality (pull_request) Successful in 39s
Test Python Package / test (pull_request) Successful in 31s
f1bfd02b7e
Author
Owner

Test Coverage Report:

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0
rootdir: /workspace/brian/visual-semiotic-ai-analysis
configfile: pyproject.toml
plugins: cov-7.0.0
collected 51 items

tests/integration/annotation_repository_interface_test.py ....           [  7%]
tests/integration/annotation_repository_test.py .....                    [ 17%]
tests/integration/image_repository_interface_test.py ....                [ 25%]
tests/integration/image_repository_test.py .....                         [ 35%]
tests/integration/job_repository_interface_test.py ....                  [ 43%]
tests/integration/job_repository_test.py ......                          [ 54%]
tests/unit/test_annotation_repository.py ..........                      [ 74%]
tests/unit/test_image_repository.py ........                             [ 90%]
tests/unit/test_job_repository.py .....                                  [100%]

=============================== warnings summary ===============================
.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready(ConnectionError)

.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.12.3-final-0 ________________

Name                                                       Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------------
data_store/__init__.py                                         0      0   100%
data_store/dto/__init__.py                                     7      0   100%
data_store/dto/angle_enum.py                                   5      0   100%
data_store/dto/annotation.py                                  10      0   100%
data_store/dto/contact_enum.py                                 4      0   100%
data_store/dto/distance_enum.py                                5      0   100%
data_store/dto/job.py                                         11      0   100%
data_store/dto/point_of_view_enum.py                           4      0   100%
data_store/dto/type_checking_base_model.py                     3      0   100%
data_store/interfaces/__init__.py                              4      0   100%
data_store/interfaces/annotation_repository_interface.py      16      0   100%
data_store/interfaces/image_repository_interface.py           16      0   100%
data_store/interfaces/job_repository_interface.py             16      0   100%
data_store/repositories/__init__.py                            4      0   100%
data_store/repositories/annotation_repository.py              57      0   100%
data_store/repositories/image_repository.py                   48      0   100%
data_store/repositories/job_repository.py                     46      0   100%
----------------------------------------------------------------------------------------
TOTAL                                                        256      0   100%
======================= 51 passed, 4 warnings in 30.10s ========================
**Test Coverage Report:** ``` ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 rootdir: /workspace/brian/visual-semiotic-ai-analysis configfile: pyproject.toml plugins: cov-7.0.0 collected 51 items tests/integration/annotation_repository_interface_test.py .... [ 7%] tests/integration/annotation_repository_test.py ..... [ 17%] tests/integration/image_repository_interface_test.py .... [ 25%] tests/integration/image_repository_test.py ..... [ 35%] tests/integration/job_repository_interface_test.py .... [ 43%] tests/integration/job_repository_test.py ...... [ 54%] tests/unit/test_annotation_repository.py .......... [ 74%] tests/unit/test_image_repository.py ........ [ 90%] tests/unit/test_job_repository.py ..... [100%] =============================== warnings summary =============================== .venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/core/container.py:245 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready(ConnectionError) .venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/ warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.12.3-final-0 ________________ Name Stmts Miss Cover Missing ---------------------------------------------------------------------------------------- data_store/__init__.py 0 0 100% data_store/dto/__init__.py 7 0 100% data_store/dto/angle_enum.py 5 0 100% data_store/dto/annotation.py 10 0 100% data_store/dto/contact_enum.py 4 0 100% data_store/dto/distance_enum.py 5 0 100% data_store/dto/job.py 11 0 100% data_store/dto/point_of_view_enum.py 4 0 100% data_store/dto/type_checking_base_model.py 3 0 100% data_store/interfaces/__init__.py 4 0 100% data_store/interfaces/annotation_repository_interface.py 16 0 100% data_store/interfaces/image_repository_interface.py 16 0 100% data_store/interfaces/job_repository_interface.py 16 0 100% data_store/repositories/__init__.py 4 0 100% data_store/repositories/annotation_repository.py 57 0 100% data_store/repositories/image_repository.py 48 0 100% data_store/repositories/job_repository.py 46 0 100% ---------------------------------------------------------------------------------------- TOTAL 256 0 100% ======================= 51 passed, 4 warnings in 30.10s ======================== ```
Author
Owner

Test Coverage Report:

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0
rootdir: /workspace/brian/visual-semiotic-ai-analysis
configfile: pyproject.toml
plugins: cov-7.0.0
collected 51 items

tests/integration/annotation_repository_interface_test.py ....           [  7%]
tests/integration/annotation_repository_test.py .....                    [ 17%]
tests/integration/image_repository_interface_test.py ....                [ 25%]
tests/integration/image_repository_test.py .....                         [ 35%]
tests/integration/job_repository_interface_test.py ....                  [ 43%]
tests/integration/job_repository_test.py ......                          [ 54%]
tests/unit/test_annotation_repository.py ..........                      [ 74%]
tests/unit/test_image_repository.py ........                             [ 90%]
tests/unit/test_job_repository.py .....                                  [100%]

=============================== warnings summary ===============================
.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready(ConnectionError)

.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.12.3-final-0 ________________

Name                                                       Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------------
data_store/__init__.py                                         0      0   100%
data_store/dto/__init__.py                                     7      0   100%
data_store/dto/angle_enum.py                                   5      0   100%
data_store/dto/annotation.py                                  10      0   100%
data_store/dto/contact_enum.py                                 4      0   100%
data_store/dto/distance_enum.py                                5      0   100%
data_store/dto/job.py                                         11      0   100%
data_store/dto/point_of_view_enum.py                           4      0   100%
data_store/dto/type_checking_base_model.py                     3      0   100%
data_store/interfaces/__init__.py                              4      0   100%
data_store/interfaces/annotation_repository_interface.py      16      0   100%
data_store/interfaces/image_repository_interface.py           16      0   100%
data_store/interfaces/job_repository_interface.py             16      0   100%
data_store/repositories/__init__.py                            4      0   100%
data_store/repositories/annotation_repository.py              57      0   100%
data_store/repositories/image_repository.py                   48      0   100%
data_store/repositories/job_repository.py                     46      0   100%
----------------------------------------------------------------------------------------
TOTAL                                                        256      0   100%
======================= 51 passed, 4 warnings in 12.50s ========================
**Test Coverage Report:** ``` ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 rootdir: /workspace/brian/visual-semiotic-ai-analysis configfile: pyproject.toml plugins: cov-7.0.0 collected 51 items tests/integration/annotation_repository_interface_test.py .... [ 7%] tests/integration/annotation_repository_test.py ..... [ 17%] tests/integration/image_repository_interface_test.py .... [ 25%] tests/integration/image_repository_test.py ..... [ 35%] tests/integration/job_repository_interface_test.py .... [ 43%] tests/integration/job_repository_test.py ...... [ 54%] tests/unit/test_annotation_repository.py .......... [ 74%] tests/unit/test_image_repository.py ........ [ 90%] tests/unit/test_job_repository.py ..... [100%] =============================== warnings summary =============================== .venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/core/container.py:245 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready(ConnectionError) .venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/ warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.12.3-final-0 ________________ Name Stmts Miss Cover Missing ---------------------------------------------------------------------------------------- data_store/__init__.py 0 0 100% data_store/dto/__init__.py 7 0 100% data_store/dto/angle_enum.py 5 0 100% data_store/dto/annotation.py 10 0 100% data_store/dto/contact_enum.py 4 0 100% data_store/dto/distance_enum.py 5 0 100% data_store/dto/job.py 11 0 100% data_store/dto/point_of_view_enum.py 4 0 100% data_store/dto/type_checking_base_model.py 3 0 100% data_store/interfaces/__init__.py 4 0 100% data_store/interfaces/annotation_repository_interface.py 16 0 100% data_store/interfaces/image_repository_interface.py 16 0 100% data_store/interfaces/job_repository_interface.py 16 0 100% data_store/repositories/__init__.py 4 0 100% data_store/repositories/annotation_repository.py 57 0 100% data_store/repositories/image_repository.py 48 0 100% data_store/repositories/job_repository.py 46 0 100% ---------------------------------------------------------------------------------------- TOTAL 256 0 100% ======================= 51 passed, 4 warnings in 12.50s ======================== ```
brian added 1 commit 2025-09-18 19:45:36 +02:00
added steps to correct content type in minio
Code Quality Pipeline / code-quality (pull_request) Failing after 39s
Test Python Package / test (pull_request) Successful in 30s
60c0993d59
Author
Owner

Test Coverage Report:

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0
rootdir: /workspace/brian/visual-semiotic-ai-analysis
configfile: pyproject.toml
plugins: cov-7.0.0
collected 51 items

tests/integration/annotation_repository_interface_test.py ....           [  7%]
tests/integration/annotation_repository_test.py .....                    [ 17%]
tests/integration/image_repository_interface_test.py ....                [ 25%]
tests/integration/image_repository_test.py .....                         [ 35%]
tests/integration/job_repository_interface_test.py ....                  [ 43%]
tests/integration/job_repository_test.py ......                          [ 54%]
tests/unit/test_annotation_repository.py ..........                      [ 74%]
tests/unit/test_image_repository.py ........                             [ 90%]
tests/unit/test_job_repository.py .....                                  [100%]

=============================== warnings summary ===============================
.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready(ConnectionError)

.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.12.3-final-0 ________________

Name                                                       Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------------
data_store/__init__.py                                         0      0   100%
data_store/dto/__init__.py                                     7      0   100%
data_store/dto/angle_enum.py                                   5      0   100%
data_store/dto/annotation.py                                  10      0   100%
data_store/dto/contact_enum.py                                 4      0   100%
data_store/dto/distance_enum.py                                5      0   100%
data_store/dto/job.py                                         11      0   100%
data_store/dto/point_of_view_enum.py                           4      0   100%
data_store/dto/type_checking_base_model.py                     3      0   100%
data_store/interfaces/__init__.py                              4      0   100%
data_store/interfaces/annotation_repository_interface.py      16      0   100%
data_store/interfaces/image_repository_interface.py           16      0   100%
data_store/interfaces/job_repository_interface.py             16      0   100%
data_store/repositories/__init__.py                            4      0   100%
data_store/repositories/annotation_repository.py              58      0   100%
data_store/repositories/image_repository.py                   49      0   100%
data_store/repositories/job_repository.py                     46      0   100%
----------------------------------------------------------------------------------------
TOTAL                                                        258      0   100%
======================= 51 passed, 4 warnings in 12.17s ========================
**Test Coverage Report:** ``` ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 rootdir: /workspace/brian/visual-semiotic-ai-analysis configfile: pyproject.toml plugins: cov-7.0.0 collected 51 items tests/integration/annotation_repository_interface_test.py .... [ 7%] tests/integration/annotation_repository_test.py ..... [ 17%] tests/integration/image_repository_interface_test.py .... [ 25%] tests/integration/image_repository_test.py ..... [ 35%] tests/integration/job_repository_interface_test.py .... [ 43%] tests/integration/job_repository_test.py ...... [ 54%] tests/unit/test_annotation_repository.py .......... [ 74%] tests/unit/test_image_repository.py ........ [ 90%] tests/unit/test_job_repository.py ..... [100%] =============================== warnings summary =============================== .venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/core/container.py:245 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready(ConnectionError) .venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/ warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.12.3-final-0 ________________ Name Stmts Miss Cover Missing ---------------------------------------------------------------------------------------- data_store/__init__.py 0 0 100% data_store/dto/__init__.py 7 0 100% data_store/dto/angle_enum.py 5 0 100% data_store/dto/annotation.py 10 0 100% data_store/dto/contact_enum.py 4 0 100% data_store/dto/distance_enum.py 5 0 100% data_store/dto/job.py 11 0 100% data_store/dto/point_of_view_enum.py 4 0 100% data_store/dto/type_checking_base_model.py 3 0 100% data_store/interfaces/__init__.py 4 0 100% data_store/interfaces/annotation_repository_interface.py 16 0 100% data_store/interfaces/image_repository_interface.py 16 0 100% data_store/interfaces/job_repository_interface.py 16 0 100% data_store/repositories/__init__.py 4 0 100% data_store/repositories/annotation_repository.py 58 0 100% data_store/repositories/image_repository.py 49 0 100% data_store/repositories/job_repository.py 46 0 100% ---------------------------------------------------------------------------------------- TOTAL 258 0 100% ======================= 51 passed, 4 warnings in 12.17s ======================== ```
brian added 1 commit 2025-09-18 19:48:45 +02:00
updated CI step title
Code Quality Pipeline / code-quality (pull_request) Successful in 1m22s
Test Python Package / test (pull_request) Successful in 49s
fcbae0d87b
Author
Owner

Test Coverage Report:

============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0
rootdir: /workspace/brian/visual-semiotic-ai-analysis
configfile: pyproject.toml
plugins: cov-7.0.0
collected 51 items

tests/integration/annotation_repository_interface_test.py ....           [  7%]
tests/integration/annotation_repository_test.py .....                    [ 17%]
tests/integration/image_repository_interface_test.py ....                [ 25%]
tests/integration/image_repository_test.py .....                         [ 35%]
tests/integration/job_repository_interface_test.py ....                  [ 43%]
tests/integration/job_repository_test.py ......                          [ 54%]
tests/unit/test_annotation_repository.py ..........                      [ 74%]
tests/unit/test_image_repository.py ........                             [ 90%]
tests/unit/test_job_repository.py .....                                  [100%]

=============================== warnings summary ===============================
.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready()

.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready'))
    @wait_container_is_ready(ConnectionError)

.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323
  /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.12.3-final-0 ________________

Name                                                       Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------------
data_store/__init__.py                                         0      0   100%
data_store/dto/__init__.py                                     7      0   100%
data_store/dto/angle_enum.py                                   5      0   100%
data_store/dto/annotation.py                                  10      0   100%
data_store/dto/contact_enum.py                                 4      0   100%
data_store/dto/distance_enum.py                                5      0   100%
data_store/dto/job.py                                         11      0   100%
data_store/dto/point_of_view_enum.py                           4      0   100%
data_store/dto/type_checking_base_model.py                     3      0   100%
data_store/interfaces/__init__.py                              4      0   100%
data_store/interfaces/annotation_repository_interface.py      16      0   100%
data_store/interfaces/image_repository_interface.py           16      0   100%
data_store/interfaces/job_repository_interface.py             16      0   100%
data_store/repositories/__init__.py                            4      0   100%
data_store/repositories/annotation_repository.py              58      0   100%
data_store/repositories/image_repository.py                   49      0   100%
data_store/repositories/job_repository.py                     46      0   100%
----------------------------------------------------------------------------------------
TOTAL                                                        258      0   100%
======================= 51 passed, 4 warnings in 29.84s ========================
**Test Coverage Report:** ``` ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 rootdir: /workspace/brian/visual-semiotic-ai-analysis configfile: pyproject.toml plugins: cov-7.0.0 collected 51 items tests/integration/annotation_repository_interface_test.py .... [ 7%] tests/integration/annotation_repository_test.py ..... [ 17%] tests/integration/image_repository_interface_test.py .... [ 25%] tests/integration/image_repository_test.py ..... [ 35%] tests/integration/job_repository_interface_test.py .... [ 43%] tests/integration/job_repository_test.py ...... [ 54%] tests/unit/test_annotation_repository.py .......... [ 74%] tests/unit/test_image_repository.py ........ [ 90%] tests/unit/test_job_repository.py ..... [100%] =============================== warnings summary =============================== .venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/waiting_utils.py:178: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/core/container.py:245 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/core/container.py:245: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready() .venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/testcontainers/minio/__init__.py:101: DeprecationWarning: The @wait_container_is_ready decorator is deprecated and will be removed in a future version. Use structured wait strategies instead: container.waiting_for(HttpWaitStrategy(8080).for_status_code(200)) or container.waiting_for(LogMessageWaitStrategy('ready')) @wait_container_is_ready(ConnectionError) .venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323 /workspace/brian/visual-semiotic-ai-analysis/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/ warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.12.3-final-0 ________________ Name Stmts Miss Cover Missing ---------------------------------------------------------------------------------------- data_store/__init__.py 0 0 100% data_store/dto/__init__.py 7 0 100% data_store/dto/angle_enum.py 5 0 100% data_store/dto/annotation.py 10 0 100% data_store/dto/contact_enum.py 4 0 100% data_store/dto/distance_enum.py 5 0 100% data_store/dto/job.py 11 0 100% data_store/dto/point_of_view_enum.py 4 0 100% data_store/dto/type_checking_base_model.py 3 0 100% data_store/interfaces/__init__.py 4 0 100% data_store/interfaces/annotation_repository_interface.py 16 0 100% data_store/interfaces/image_repository_interface.py 16 0 100% data_store/interfaces/job_repository_interface.py 16 0 100% data_store/repositories/__init__.py 4 0 100% data_store/repositories/annotation_repository.py 58 0 100% data_store/repositories/image_repository.py 49 0 100% data_store/repositories/job_repository.py 46 0 100% ---------------------------------------------------------------------------------------- TOTAL 258 0 100% ======================= 51 passed, 4 warnings in 29.84s ======================== ```
brian merged commit 86935ab18e into main 2025-09-18 20:03:13 +02:00
brian deleted branch upload-images-to-minio 2025-09-18 20:03:15 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: brian/visual-semiotic-ai-analysis#2