New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinyprog 1.0.23 has no py3 wheel #25

Open
MartyMacGyver opened this Issue Sep 26, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@MartyMacGyver
Copy link

MartyMacGyver commented Sep 26, 2018

There are py2 and py3 wheels for the previous release:
https://pypi.org/project/tinyprog/1.0.21/#files

There's no py3 wheel for the current one though:
https://pypi.org/project/tinyprog/1.0.23/#files

@MartyMacGyver MartyMacGyver changed the title tinyprog 1.0.23 has no py3 wheel? tinyprog 1.0.23 has no py3 wheel Sep 26, 2018

@ewenmcneill

This comment has been minimized.

Copy link
Contributor

ewenmcneill commented Jan 9, 2019

@tinyfpga, as noted in https://discourse.tinyfpga.com/t/issues-with-tinyprog-u-on-bx/628/16, it appears that https://github.com/tinyfpga/TinyFPGA-Bootloader/tree/master/programmer does not include changes after 2018-09-07, and thus only has the source for 1.0.22b1 (missing 1.0.22b2 and 1.0.23 as compared with https://pypi.org/project/tinyprog/1.0.23/#history). Releasing this source would in theory allow installing 1.0.23 on Python 3.x with something like:

pip install "git+https://github.com/tinyfpga/TinyFPGA-Bootloader#egg=tinyprog&subdirectory=programmer&subdirectory=programmer"

which is being used by https://github.com/timvideos/litex-buildenv/ to install tinyprog for Python 3.6 now, and getting 1.0.22b1:

(LX P=tinyfpga_bx.minimal F=micropython) ewen@parthenon:/src/fpga/litex-buildenv$ pip list 2>/dev/null | grep tinyprog 
tinyprog                 1.0.22b1     
(LX P=tinyfpga_bx.minimal F=micropython) ewen@parthenon:/src/fpga/litex-buildenv$ 

Particularly with only about 11 months of Python 2.7 upstream support left it'd be helpful to be able to install the latest tinyprog with Python 3.x.

Thanks,

Ewen

@ewenmcneill

This comment has been minimized.

Copy link
Contributor

ewenmcneill commented Jan 17, 2019

@MartyMacGyver

Tim Ansell (@mithro ) and I have done some spring cleaning on the tinyprog PyPI package (and on GitHub) over the last couple of days, and have a 1.0.24 pre-release version which hopefully is installable on Python 2 and Python 3 again:

https://pypi.org/project/tinyprog/1.0.24.dev18/

It's currently marked as a "dev" version because we'd like a few people to test it before we make it the new stable release. Could you perhaps try testing it out?

IIRC:

pip install tinyprog --pre --upgrade

will allow you to upgrade to a pre-release (ie not stable) version.

Changes made are in #35, #36, #37, #39, which includes grabbing the 1.0.23 changes that were only on PyPI and apparently not in the GitHub repo and re-adding them to git, as well as a bunch of packaging tidy ups so as to get a nicer PyPI description and more automated package upload.

Thanks,

Ewen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment