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

Lib (urllib3) fail from local poetry build #123

Open
dosumis opened this issue Dec 4, 2023 · 0 comments
Open

Lib (urllib3) fail from local poetry build #123

dosumis opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dosumis
Copy link

dosumis commented Dec 4, 2023

Tried local Poetry install as I have been unable to get any install via pip to work (I got as far as an install with this bug when I try to run #122).

Trying to run schemauto with Poetry install =>

 schema-automator % ~/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/bin/schemauto ../cell-annotation-schema/BICAN_schema.json 
Traceback (most recent call last):
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/bin/schemauto", line 3, in <module>
    from schema_automator.cli import main
  File "/Users/do12/Documents/GitHub/schema-automator/schema_automator/__init__.py", line 1, in <module>
    from schema_automator.annotators import *
  File "/Users/do12/Documents/GitHub/schema-automator/schema_automator/annotators/__init__.py", line 1, in <module>
    from schema_automator.annotators.schema_annotator import SchemaAnnotator
  File "/Users/do12/Documents/GitHub/schema-automator/schema_automator/annotators/schema_annotator.py", line 7, in <module>
    from linkml_runtime.linkml_model import SchemaDefinition, Element, PermissibleValue, ClassDefinition, SlotDefinition
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/linkml_runtime/__init__.py", line 3, in <module>
    from linkml_runtime.utils.schemaview import SchemaView
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/linkml_runtime/utils/schemaview.py", line 11, in <module>
    from linkml_runtime.utils.namespaces import Namespaces
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/linkml_runtime/utils/namespaces.py", line 4, in <module>
    from prefixcommons import curie_util
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/prefixcommons/__init__.py", line 4, in <module>
    from .curie_util import expand_uri, contract_uri, NoPrefix
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/prefixcommons/curie_util.py", line 5, in <module>
    import requests
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/requests/__init__.py", line 43, in <module>
    import urllib3
  File "/Users/do12/Library/Caches/pypoetry/virtualenvs/schema-automator-coqgtRXk-py3.9/lib/python3.9/site-packages/urllib3/__init__.py", line 38, in <module>
    raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168
@dosumis dosumis added the bug Something isn't working label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant