Skip to content

Conversation

@YUKI2eN3e
Copy link
Contributor

Fix "pyproject.toml does not contain a tool.setuptools_scm section" by adding a minimal entry to pyproject.toml

@Tishj
Copy link
Contributor

Tishj commented May 12, 2025

Thanks, if this works correctly now I'm fine with this, but I am still highly skeptical

Change was introduced here #16739

When that PR was made, adding this section stopped the build from using the custom logic defined in the setup.py

@Tishj
Copy link
Contributor

Tishj commented May 12, 2025

You should start a Python.yml run on your fork to verify that

EDIT: I'm not sure of the steps required to enable github actions on your fork, so I've started a run on my own fork from your branch:
https://github.com/Tishj/duckdb/actions/runs/14967110607 (with OVERRIDE_GIT_DESCRIBE: v1.4.0)
https://github.com/Tishj/duckdb/actions/runs/14967119128 (with MAIN_BRANCH_VERSIONING: 0)

@Tishj
Copy link
Contributor

Tishj commented May 13, 2025

@carlopi could you have a look at the runs I posted above?
I think that it's working, but I'd love a second set of eyes on it, before we merge something that will break the next release

@carlopi
Copy link
Contributor

carlopi commented May 13, 2025

@Tishj: I checked the logs on your runs and looks all is behaving as expected (and test is indeed setup properly)

Copy link
Contributor

@Tishj Tishj left a comment

Choose a reason for hiding this comment

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

Thanks, seems the problem preventing this from working has been fixed upstream in setuptools_scm 👍

@carlopi
Copy link
Contributor

carlopi commented May 13, 2025

@Tishj: another candidate for "solving" this was maybe https://github.com/duckdb/duckdb/pull/17386/files with pinning the versions, unsure, but anyhow this can likely go in pending review.

@carlopi carlopi requested a review from Mytherin May 13, 2025 08:34
@Mytherin Mytherin merged commit 2195d3e into duckdb:main May 13, 2025
13 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@Tishj Tishj mentioned this pull request May 16, 2025
hannes added a commit that referenced this pull request May 16, 2025
Revert #17443 

They have not fixed their problem, all they've done is upgrade the
warning into an error, so we won't use those newer versions until they
fix it 👍
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
[Fix] Macro binding with unknown parameters in list_has_all and some other code tidying (duckdb/duckdb#17450)
Fix: pyproject.toml does not contain a tool.setuptools_scm section (duckdb/duckdb#17443)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 19, 2025
[Fix] Macro binding with unknown parameters in list_has_all and some other code tidying (duckdb/duckdb#17450)
Fix: pyproject.toml does not contain a tool.setuptools_scm section (duckdb/duckdb#17443)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 19, 2025
[Fix] Macro binding with unknown parameters in list_has_all and some other code tidying (duckdb/duckdb#17450)
Fix: pyproject.toml does not contain a tool.setuptools_scm section (duckdb/duckdb#17443)
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.

4 participants