Skip to content
Merged
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
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cvec"
version = "1.4.1"
version = "1.4.3"
description = "SDK for CVector Energy"
authors = [{ name = "CVector", email = "support@cvector.energy" }]
readme = "README.md"
Expand All @@ -10,6 +10,18 @@ dependencies = [
"pyarrow>=22.0.0",
]
license = "MIT"
license-files = ['LICENSE']
Copy link
Contributor

Choose a reason for hiding this comment

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

high

While this line correctly adds the license file to the package metadata, I've noticed a larger structural issue in this file. The project is configured to use Poetry as its build backend, but the dependencies are declared under the [project] table.

Poetry's dependency management tools (e.g., poetry install, poetry add) do not use the [project.dependencies] field. They expect dependencies to be defined in [tool.poetry.dependencies]. This discrepancy can lead to an inconsistent or broken development environment, as developers using Poetry commands won't have the correct dependencies installed.

To ensure project maintainability and a consistent developer experience, I strongly recommend moving the dependencies to the [tool.poetry] section in a follow-up change. You would remove the dependencies and requires-python keys from [project] and create a [tool.poetry.dependencies] section like this:

[tool.poetry.dependencies]
python = ">=3.10"
pydantic = ">=2.12.0"
pyarrow = ">=22.0.0"

classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
]

[tool.poetry]
packages = [{ include = "cvec", from = "src" }]
Expand Down