Comments (4)
Are you sure that artifactory supports Metadata-Version up to 2.0? The 2.0 was draft was discarded and 2.1 is essentially 1.2 with some small additions. The specification of Metadata-Version
says :
Version of the file format; legal values are “1.0”, “1.1”, “1.2” and “2.1”.
From what I could find with google, there's also this artifactory bug for metadata version 2.1 which seems to have been resolved.
from maturin.
First of all, a big thank you for looking into this issue. I have to confess I am not sure of the 2.0 support, I have assumed it to be the case after downloading some wheels from our repo and wheel unpack
ing them. They all had metadata 2.0.
Further, unfortunately, our company size somehow means that updates are slow and I have limited leverage in speeding up updating artifactory - that's why I am interested in working around the problem although I know it's probably not the optimal way. I currently unpack the pyo3-built wheel, replace the string 2.1 with 2.0 (yes, I feel dirty), pack it and upload it. My selfish thought was that by making the version user-configurable I would be able to work around the problem more easily...
from maturin.
I'm sorry, but I don't want to support bugs in old software that require violating the metadata PEPs. IMHO dirty patching and waiting for a software update is the most reasonable way to deal with a case like that.
from maturin.
Absolutely reasonable. Thanks for looking into that anyways!
from maturin.
Related Issues (20)
- Trying to publish sdist only HOT 3
- Fails with "unsupported Python interpreter" HOT 8
- Improve self including check for sdist
- maturin fails if sitecustomize / usercustomize print to stdout HOT 3
- `maturin develop` requires pip to be available HOT 2
- Hash table capacity overflow on x86_64 FreeBSD HOT 10
- Add dynamic = ["version"] to pyproject.toml
- Add support for jenkins as CI provider HOT 5
- macOS: incorrect wheel names HOT 2
- Generated source distribution does not handle aliased dependencies correctly HOT 5
- Cannot find the Python interpreter HOT 2
- Allow offline mode via environment variable HOT 4
- `build` command ignores `build-system.requires` specifier HOT 12
- maturin 1.3.0 panics on `develop` with 'called `Option::unwrap()` on a `None` value' HOT 2
- sdist fails to build if crate is in a subdirectory of a workspace HOT 1
- `MACOSX_DEPLOYMENT_TARGET` causing spurious rebuilds due to `objc-sys` HOT 1
- 1.3.0 release build failed to run against python 3.12 HOT 2
- maturin fails if `sys.stdout` is an `io.StringIO` object HOT 5
- does `maturin build --target x86_64-pc-windows-msvc` support custom CA ? HOT 4
- maturin 1.3 produces invalid source distributions for workspace packages HOT 3
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 maturin.