Comments (2)
Hi @salotz-sitx, thanks for the investigation on this issue and for reporting! I checked a bit the history, and yes, we do use some logic contained in setuptools_scm
for implementing our custom sdist command, and particularly here:
From the one hand, the lucky part is that making it optional would be straightforward since the import is not part of the top-level imports of the module. However, from the other, it would possibly break all the existing packages that use this feature.
I need to double check with extra care about this possible transition and understand what are the overall consequences of this change.
For the records, matplotlib/matplotlib#18971 introduced the setuptools_scm
deps into matplotlib
, that created the problems discussed in pypa/setuptools_scm#653.
from cmake-build-extension.
Fair enough. I don't think it would be too disruptive to change this behavior in new versions. Presumably anyone wanting stability at the installation stage should be pinning their dependencies and not aggressively upgrading.
from cmake-build-extension.
Related Issues (18)
- Expose binaries of the CMake project
- Extend the example with also pybind11 bindings HOT 1
- Publish to conda-forge HOT 5
- Use gitignore when packaging with custom sdist command
- Multiple calls operating on the same build folder leak resources from isolated environment HOT 8
- Allow disabling `CMakeExtension`s through environment variable
- Using cmake extension modules alongside other extension modules HOT 5
- linking against imported library HOT 4
- Adjust supported Python versions HOT 1
- Python 3.7 on Windows fails in CI
- sdist doesn't package source_dir HOT 7
- write __init__.py into a wrong folder
- Should always check ninja in run() of BuildExtension? HOT 2
- Would SWIG example `normalize_numpy` leak memory?
- Evaluate if recommend `~=` usage for dependencies versions HOT 1
- Update `README.md` to use the more common `src` code folder HOT 3
- Example cannot be imported in Windows if python >= 3.8 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-build-extension.