mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 14:50:00 +00:00
update get_min_versions script
This commit is contained in:
parent
e034999cb6
commit
b7bdf0b81a
3
.github/scripts/get_min_versions.py
vendored
3
.github/scripts/get_min_versions.py
vendored
@ -105,8 +105,7 @@ def get_min_version_from_toml(
|
||||
with open(toml_path, "rb") as file:
|
||||
toml_data = tomllib.load(file)
|
||||
|
||||
# Get the dependencies from tool.poetry.dependencies
|
||||
dependencies = toml_data["tool"]["poetry"]["dependencies"]
|
||||
dependencies = toml_data["project"]["dependencies"]
|
||||
|
||||
# Initialize a dictionary to store the minimum versions
|
||||
min_versions = {}
|
||||
|
Loading…
Reference in New Issue
Block a user