Git Product home page Git Product logo

Comments (4)

konstin avatar konstin commented on May 25, 2024

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.

woelper avatar woelper commented on May 25, 2024

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 unpacking 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.

konstin avatar konstin commented on May 25, 2024

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.

woelper avatar woelper commented on May 25, 2024

Absolutely reasonable. Thanks for looking into that anyways!

from maturin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.