Code Monkey home page Code Monkey logo

Comments (6)

chfast avatar chfast commented on July 27, 2024

I don't remember honestly. I believe I was uploading them manually somehow. The wheel build instructions are in https://github.com/chfast/ethash/blob/master/circle.yml#L230.

Maybe I can automate this in CI too. Do you use this package?

from ethash.

andrei-kondakov avatar andrei-kondakov commented on July 27, 2024

Yes, I do. I want to test your implementation instead of https://pypi.org/project/pyethash/.

from ethash.

chfast avatar chfast commented on July 27, 2024

I have uploaded wheels for the 0.9.0 release. https://pypi.org/project/ethash/0.9.0/#files

from ethash.

andrei-kondakov avatar andrei-kondakov commented on July 27, 2024

@chfast Thank you! Can you explain process of upload? I want to upload to PyPi my implementation of the etchash algo (fork of your repo).

from ethash.

chfast avatar chfast commented on July 27, 2024

The CI builds all wheels and the source package (available in artifacts). I manually download them and upload with twine. This can also be automated but I didn't for security reasons.

from ethash.

andrei-kondakov avatar andrei-kondakov commented on July 27, 2024

Hello!

I got ModuleNotFoundError on my ubuntu 18.04.6, python 3.8.11 (and 3.9) after installing of ethash==0.9.0:

(venv) root@ubuntu # pip install ethash
Collecting ethos
  Using cached ethash-0.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (36 kB)
Requirement already satisfied: cffi>=1.12 in /home/user/venv/lib/python3.8/site-packages (from ethash) (1.15.0)
Requirement already satisfied: pycparser in /home/user/venv/lib/python3.8/site-packages (from cffi>=1.12->ethash) (2.21)
Installing collected packages: ethash
Successfully installed ethash-0.9.0
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the '/home/user/venv/bin/python3.8 -m pip install --upgrade pip' command.
(venv) root@ubuntu  # python
Python 3.8.11 (default, Sep  8 2021, 15:31:46) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ethash
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'ethash'

@chfast Can you help?
Thank you

from ethash.

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.