Skip to content

Conversation

@YouNeedCryDear
Copy link
Member

Fix CI to resolve multiple version for same dependency

In libs/oracledb/pyproject.toml

langchain-core (lines 15-18) is defined as a list with multiple version constraints for different Python versions:

langchain-core = [
{ version = "^0.3.15", python = "<3.10" },
{ version = "^1.0.0", python = ">=3.10" }
]

The get_min_versions.py script at line 48 retrieves this value:
version_string = dependencies[lib]

When the dependency is defined as a list (for multiple Python version constraints), version_string becomes a list, not a string. The script then tries to pass this list to get_min_version() which expects a string, causing the TypeError.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 19, 2025
@YouNeedCryDear YouNeedCryDear merged commit cd8d276 into main Nov 19, 2025
10 checks passed
@YouNeedCryDear YouNeedCryDear deleted the fix-ci-min-version branch November 19, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants