Giter VIP home page Giter VIP logo

Comments (8)

vpelletier avatar vpelletier commented on September 17, 2024 2

My apologies for the breakage. I re-released (with only README and setup.sh changes) 1.10.1 as 2.0.0, and yanked 1.10.1 from pypi.

from python-libusb1.

stanislavlevin avatar stanislavlevin commented on September 17, 2024

Mostly it is due to
https://docs.python.org/3/library/2to3.html#module-lib2to3:

Deprecated since version 3.10: Python 3.9 will switch to a PEG parser (see PEP 617), and Python 3.10 may include new language syntax that is not parsable by lib2to3’s LL(1) parser. The lib2to3 module may be removed from the standard library in a future Python version. Consider third-party alternatives such as LibCST or parso.

from python-libusb1.

vpelletier avatar vpelletier commented on September 17, 2024

Thanks for the heads-up. Unfortunately, this may bring the end of 2.7 support in this module (and a few of my other modules).

from python-libusb1.

mcuee avatar mcuee commented on September 17, 2024

I think it is time to remove Python 2.7 support and probably Python 3.0/3.1/3.2/3.3/3.4 as well.

Ref: pyusb dropped the support of Python 2.7 and Python 3.5 in the 1.1.1 release earlier this year.
pyusb/pyusb@eaf6908

from python-libusb1.

vpelletier avatar vpelletier commented on September 17, 2024

I pushed the 2to3 removal to master. I hesitated first doing a release with the significant recent changes, and then another one just dropping 2.7 support. But with setuptools out of the barn, it would already not be possible to install, so I guess it is pointless.

from python-libusb1.

vpelletier avatar vpelletier commented on September 17, 2024

Released as 1.10.1 (.1 because of a restructured text mishap).

from python-libusb1.

stanislavlevin avatar stanislavlevin commented on September 17, 2024

Thank you!

from python-libusb1.

srenauld avatar srenauld commented on September 17, 2024

For those of us constrained to python2.x, could you increase semver to indicate a breaking change?

We use nrfutil to generate DFU packages for a bunch of projects where I work. This new release broke the build as nrfutil improperly sets very loose requirements. On our CI setup I pinned it to 1.x; the change being a breaking change despite being a feature increment broke the build and caused a lot of headaches.

from python-libusb1.

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.