Coder Social home page Coder Social logo

Comments (6)

cclauss avatar cclauss commented on July 22, 2024

Python v3.12 requires node-gyp release >= v10.

from node-gyp.

Apollon77 avatar Apollon77 commented on July 22, 2024

... and is included in npm >= 10.2.2. Maybe adding that would also be awesome

from node-gyp.

dlqqq avatar dlqqq commented on July 22, 2024

@cclauss Thanks for clarifying the behavior of node-gyp@^10! I have another follow-up question for you.

I believe the current major release policy is as follows:

  • On every major (i.e. backwards-incompatible) stable release of Node & Python (e.g. Node 16 => 18, or Python 3.11 => 3.12):
    • Include support for the latest major versions,
    • Drop support for any newly-deprecated major versions (if any),
    • Finally, bump the major version of node-gyp and cut a release.

Is the observed major release policy for node-gyp? If not, what is the major release policy? We should also cover this in the documentation.

from node-gyp.

cclauss avatar cclauss commented on July 22, 2024

My efforts on the Python side is that the current node-gyp tracks with https://devguide.python.org/versions

That means that node-gyp v10 supports Python 3.8 thru 3.12. Supporting five versions seems like enough complexity.

Node.js support should similarly track with https://nodejs.org/en/about/previous-releases

from node-gyp.

dlqqq avatar dlqqq commented on July 22, 2024

@cclauss That makes sense, thanks for the reference! I am asking, however, what goes into deciding whether to cut a new major release? For example, did you cut node-gyp@^10 because Python 3.12 was released, or for some other reason?

I think the repository needs a major release policy to be explicitly documented. In other words, there should be documentation that describes when and why new major releases of node-gyp are cut.

from node-gyp.

cclauss avatar cclauss commented on July 22, 2024
  • #2753
    Is a good example of the kind of discussion that goes into making a major release.

from node-gyp.

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.