Skip to content
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

python3.8 is out #253

Closed
hyunlee1o opened this issue Oct 15, 2019 · 22 comments
Closed

python3.8 is out #253

hyunlee1o opened this issue Oct 15, 2019 · 22 comments

Comments

@hyunlee1o
Copy link

Could you add support to it please?

@skvark
Copy link
Member

skvark commented Oct 16, 2019

3.8 builds will be added when the whole toolchain supports it. Afaik Appveoyr does not have Python 3.8 available but I hope it will be added soon: https://www.appveyor.com/docs/windows-images-software/#python

Manylinux added support yesterday: pypa/manylinux@f9ef816

macOS is also ok: matthew-brett/multibuild@8c8d6e6

@skvark
Copy link
Member

skvark commented Oct 18, 2019

appveyor/ci#3142

@cclauss
Copy link
Contributor

cclauss commented Oct 20, 2019

Given that AppVeyor seems to be asleep at the wheel on Python 3.8, does it make sense to shift the Windows tests to Travis or others?

@maximveksler
Copy link

We should see which CI gets there first. Another option is manually installing and compiling python before building the wheel. That's a workaround, but highly impractical one.

https://github.com/microsoft/azure-pipelines-image-generation/issues/1317

@cclauss
Copy link
Contributor

cclauss commented Oct 22, 2019

Travis already supports Python 3.8 on Linux and Windows: https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems

@skvark
Copy link
Member

skvark commented Oct 25, 2019

Pull requests are welcome. However, there seems to be a fast workaround now appveyor/ci#3142 (comment). It's quite a lot faster to implement the workaround than to setup the Travis Windows support.

@hugovk
Copy link

hugovk commented Nov 9, 2019

🚀 Python 3.8 is now available on AppVeyor:

@cowlinator
Copy link

@skvark , can we expect work on Python 3.8 support to begin soon?

@Rukario
Copy link

Rukario commented Nov 14, 2019

I've waited for 3.8 support...

@skvark
Copy link
Member

skvark commented Nov 14, 2019

Python 3.8 wheels will be released when I have the time to fix the builds. multibuild upgrade broke something and that needs to be fixed to get the macOS & Linux builds working. Appveyor is not a blocking issue, I would have already released new version without these additional issues.

@yangspeaking
Copy link

waiting for 3.8 support. Thanks for the effort!

@ygwangthu
Copy link

wait too :-)

@skvark
Copy link
Member

skvark commented Nov 18, 2019

It seems that I found the multibuild issue and the pre-build stage proceeds now normally. I hope that I get new releases out during this week.

Just a heads up for those who might be still using Python 3.4: it's in EOL and I will drop it from build matrix so no new releases coming for 3.4 anymore. Python 2.7 will be also dropped by the end of this year.

@ofersadan85
Copy link

ofersadan85 commented Nov 18, 2019

Just a heads up for anyone looking for unofficial pre built wheels for python 3.8, you can find them here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

(Windows only as of this moment, either 32 or 64 bit)

@viponedream
Copy link

Just a heads up for anyone looking for unofficial pre built wheels for python 3.8, you can find them here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

(Windows only as of this moment, either 32 or 64 bit)

i download a wheel file from that site and install, but it says:
ERROR: Could not find a version that satisfies the requirement opencv_python-4.1.2-cp38-cp38-win_amd64 (from versions: none)
ERROR: No matching distribution found for opencv_python-4.1.2-cp38-cp38-win_amd64

@skvark
Copy link
Member

skvark commented Nov 20, 2019

3.4.8 wheels will be in PyPI during the next 20 hours. 4.1.2 will follow tomorrow when 3.4.8 builds have finished.

@viponedream This is not a support forum for Gohlke's custom wheels. They are not related to this repository. Please ask your question for example at Stack Overflow.

@skvark
Copy link
Member

skvark commented Nov 22, 2019

Most of the 4.1.2 wheels with Python 3.8 support are now available in PyPI. Some Windows wheels are still building, but they will be done in the next few hours.

@skvark skvark closed this as completed Nov 22, 2019
@HEBOS
Copy link

HEBOS commented Nov 25, 2019

Shall we have aarch64 too?

@skvark
Copy link
Member

skvark commented Nov 25, 2019

ARM support in the Python packaging ecosystem is not yet mature. For example, there a no ARM wheels for numpy in PyPI (OpenCV build depends on numpy).

There are open issues about ARM builds for different Python projects (including this project: #13). For more information, see following issues:

@sol-prog
Copy link

@skvark I think the armv6l and armv7l wheels are meant for Raspberry Pi and BeagleBone Black users. For example RPi Zero needs armv6l wheels, RPi 2 and up use the armv7l wheels.

@HEBOS
Copy link

HEBOS commented Nov 25, 2019 via email

@skvark
Copy link
Member

skvark commented Nov 25, 2019

@sol-prog Yes, I know (also many other devices are running on armv6, armv7, armv8 architectures like most of the worlds smartphones). You can get custom ARM wheels for Raspberry Pi from https://www.piwheels.org/. And please note that they work reliably only on Raspberry Pi.

@HEBOS As I wrote, you need to wait that the upstream projects and infrastructure supports building ARM wheels with reasonable effort. Currently it's not possible. However, you can always build opencv-python from sources locally on your device: clone this repository and run python setup.py bdist_wheel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests