Giter Site home page Giter Site logo

Comments (6)

konetzed avatar konetzed commented on May 20, 2024

Any progress on this?

from bandersnatch.

cooperlees avatar cooperlees commented on May 20, 2024

No. It's not been a priority of mine. It seems this also requires the maintainer to actually fill in the "requires-python" setup.py/cfg field. E.g. https://pypi.org/pypi/peerme/json is Python 3 only in the classifiers but I (as it's my package) didn't put in requires-python cause I didn't even know about it when I made this package years ago. So I don't feel it's going to be super high signal.

PR is welcome tho. You would basically:

  • Check if json_api["info"]["requires_python"] is set
  • If so, convert the versioning specifier to the HTML equivalent (Is there a library for this?)
  • Add it into the metadata of the HTML generation

from bandersnatch.

konetzed avatar konetzed commented on May 20, 2024

Thank you for the code to fix this it is very much appreciated! Is there a time frame for the next release date that will include these patches?

from bandersnatch.

cooperlees avatar cooperlees commented on May 20, 2024

This will go out today in 3.3.0

from bandersnatch.

LeoQuote avatar LeoQuote commented on May 20, 2024

Hi, we recently upgraded bandersnatch from 1.6 to 3.6 , but there're tons of old index pages , how can I tell bandersnatch to update them all?

from bandersnatch.

cooperlees avatar cooperlees commented on May 20, 2024

bandersnatch mirror --force-check should do the trick. Expect this to take some time.

from bandersnatch.

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.