Giter Site home page Giter Site logo

Changing package import logic about crc32c HOT 5 CLOSED

icrar avatar icrar commented on July 30, 2024
Changing package import logic

from crc32c.

Comments (5)

ossdev07 avatar ossdev07 commented on July 30, 2024

Hi @rtobar ,
Thanks for picking up on this issue so early.
How soon can we expect a release with the necessary changes ? Any tentative timeline ?

from crc32c.

rtobar avatar rtobar commented on July 30, 2024

I probably won't be pressing too hard on this on the near future -- say until December or so, but who knows. I created the ticket more as a reminder to do it, not necessarily because I was planning to do it soon.

I'm happy to review PRs though, along the lines of what I described above.

from crc32c.

rtobar avatar rtobar commented on July 30, 2024

BTW, until this is implemented something like the following be used to avoid import errors:

import os

os.environ['CRC32C_SW_MODE'] = 'auto'
import crc32c

from crc32c.

rtobar avatar rtobar commented on July 30, 2024

A first version of the new logic is now available in the master branch. Now the software implementation is used by default as a fallback, unless the CRC32C_SW_MODE environment variable is set to none, in which case the old behavior takes place.

@ossdev07 please have a try and let me know how this works for you. After some more testing I'll be cutting a new crc32c version (probably next week though) with this change.

from crc32c.

rtobar avatar rtobar commented on July 30, 2024

crc32c version 2.0 now released in PyPI contains this change, closing issue now.

from crc32c.

Related Issues (18)

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.