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

Issue building with python 3.7 #482

Open
smurfy opened this issue Jul 8, 2020 · 4 comments
Open

Issue building with python 3.7 #482

smurfy opened this issue Jul 8, 2020 · 4 comments

Comments

@smurfy
Copy link

smurfy commented Jul 8, 2020

I having issues building within docker container using pythons 3.7 alpine image.

Traceback (most recent call last):
  File "/usr/local/bin/zing", line 5, in <module>
    from pootle.runner import main
  File "/usr/local/lib/python3.7/site-packages/pootle/runner.py", line 18, in <module>
    import syspath_override  # noqa
ModuleNotFoundError: No module named 'syspath_override'

This traces back to: bc1881c
Older versions of zing work.

@li-dl
Copy link

li-dl commented Jul 13, 2020

Same error message as issue #480.

@jmartens
Copy link

jmartens commented Oct 12, 2022

I was able to fix this by changing import syspath_override to from .syspath_override import *

@bdube
Copy link
Contributor

bdube commented Jun 5, 2023

I make the same change as @jmartens and it seems others do as well. With Python 3.7 listed as the requirement, would this change support 3.7 up to current 3.11, so that a pull request could help solve this?

@smurfy
Copy link
Author

smurfy commented Aug 24, 2023

No idea if its still relevant or not, but it works with this patch in 3.11 too.
I also needed to tweak the dependencies a bit to proper build.

You can find my tweaks here: https://github.com/smurfy/docker-zing-serge

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

4 participants