Including package data: Error when using --no-build-isolation
#4694
Unanswered
VeckoTheGecko
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m looking to include some text files in my Python package, and found this article on the SetupTools guide. It suggests as an option
It works well locally however for some reason is failing in CI with conda (micromamba and miniconda). I have created a minimal reproducible example project (https://github.com/VeckoTheGecko/micromamba-testing/). Either removing the
—no-build-isolation
flag, or changing the following line fixes it.See the
main
andfailing
branches of the example repo for CI output.Tried unsuccessfully to reproduce in the micromamba docker container, so perhaps this is only with the ``setup-miniconda/micromamba` actions?
Does anyone have an explanation for this? Maybe this is worth clarifying in the docs?
(PS, I realise that the
[tool.setuptools.package-data]
block isn't necessary when using setuptools-scm in that example project, question still stands about build isolation)Beta Was this translation helpful? Give feedback.
All reactions