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

Dockerfile: use local pkg, not PyPI #56

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

bertsky
Copy link
Contributor

@bertsky bertsky commented Nov 29, 2022

This fixes the current Docker build, which currently still runs into the problem fixed by #53 – because the build used to install ocrd_browser via PyPI instead of the locally checked out sources, and there has not been a new PyPI release since 0.5.3. (So this affected both the Dockerhub images and the local build.)

@bertsky
Copy link
Contributor Author

bertsky commented Nov 29, 2022

Note: CI failure is not related, but due to OCR-D/core#957

@bertsky
Copy link
Contributor Author

bertsky commented Feb 2, 2023

@hnesk this is becoming quite urgent now. We have not only the importlib_metadata incompatibility, but now also numpy 1.24 is out breaking things like np.bool (which you have adapted for on master, but not on PyPI).

So we cannot install via PyPI, and we cannot build from Docker (without merging this PR first/locally).

@hnesk hnesk merged commit 10a3d50 into hnesk:master Feb 20, 2023
@hnesk
Copy link
Owner

hnesk commented Feb 20, 2023

@bertsky I'm really sorry that took so long, I had dayjob stuff to do and a broken ocrd/python/os-environment.

@bertsky
Copy link
Contributor Author

bertsky commented Feb 26, 2023

@hnesk much obliged!

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

Successfully merging this pull request may close these issues.

3 participants