Fix incompatibility issue with setuptools >= 78#382
Merged
ej2 merged 1 commit intoej2:0.9.12from Apr 15, 2025
Merged
Conversation
|
We are also experiencing this issue and it is blocking a production release. |
Contributor
Author
|
Workarround: Install setuptools < 78 and add pip install 'setuptools<78'
pip install python-quickbooks --no-build-isolation |
|
BUMP. This got me on a couple different package dependencies today. |
|
Hello! Please feel free to use this forked repo for your deployments in the meantime: https://github.com/kolleno/python-quickbooks/ For example in poetry.toml : |
|
Thanks so much to @romeroyonatan for pinpointing this issue and providing the work-around. For anyone using pyproject.toml: [project]
...
dependencies = [
# other project deps that can be built independently
]
[project.optional-dependencies]
build-quickbooks = [
# see https://github.com/ej2/python-quickbooks/issues/383
"setuptools<78",
]
quickbooks = [
"python-quickbooks==0.9.11",
]
[tool.uv]
no-build-isolation-package = ["python-quickbooks"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"bash or workflow file: uv sync --extra build-quickbooks
uv sync --extra quickbooks
uv run <your script or file> |
erikh360
approved these changes
Mar 24, 2025
|
Bump @ej2 ? |
ej2
approved these changes
Apr 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setuptools deprecated dash-separated settings
From NEWS.rst:
Issue
Solution
Renamedescription-filetodescription_fileRemove description-file because it is not supported by setuptools pypa/setuptools#4913
Closes #383