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

cannot run in Python pre 3.7.2 anymore #22

Closed
bertsky opened this issue Oct 31, 2020 · 2 comments
Closed

cannot run in Python pre 3.7.2 anymore #22

bertsky opened this issue Oct 31, 2020 · 2 comments

Comments

@bertsky
Copy link
Contributor

bertsky commented Oct 31, 2020

With the recent additions, I get:

   File "/lib/python3.6/site-packages/ocrd_browser/util/config.py", line 5, in <module>
    from typing import List, Optional, OrderedDict as OrderedDictType
ImportError: cannot import name 'OrderedDict'

(This is Python 3.6.7 – typing.OrderedDict was only introduced in 3.7.2.)

How can we avoid this dependency?

@hnesk hnesk closed this as completed in 372db8b Oct 31, 2020
@hnesk
Copy link
Owner

hnesk commented Oct 31, 2020

As this was only some experimental code for an idea of "autoconfiguration", I removed it for now

@bertsky
Copy link
Contributor Author

bertsky commented Oct 31, 2020

Thanks!

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

2 participants