Skip to content

Pass test suite with python 3.8 - #1492

Merged
serengil merged 6 commits into
serengil:masterfrom
ddaanet:tests-3.8
Jul 23, 2025
Merged

serengil merged 6 commits into
serengil:masterfrom
ddaanet:tests-3.8

Conversation

@ddaanet

@ddaanet ddaanet commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Fix the test suite to pass with python 3.8

Include additional constraints to requirements.txt to avoid incompatible recent versions.

uv venv --python 3.8
uv pip install -r requirements.txt -r requirements-dev.txt
source .venv/bin/activate
make test

ddaanet added 2 commits July 22, 2025 16:25
It contains only pytest, a version compatible with Python 3.8.
Comment thread tests/test_api.py Resolved
@ddaanet

ddaanet commented Jul 22, 2025

Copy link
Copy Markdown
Contributor Author

#1493

ddaanet added 3 commits July 22, 2025 22:48
The verify endpoint expects two images, and this intends to test
non-existing file names instead of invalid images.

serengil#1492 (comment)
@serengil

Copy link
Copy Markdown
Owner

Would you please also add non-existing path cases for represent and analyze?

In previous version, these were done. You added existing but not valid cases, but we lost non existing cases.

@serengil serengil left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@serengil
serengil merged commit f6e4a4b into serengil:master Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants