Skip to content

Poetry 1.1.8 POETRY_VIRTUALENVS_CREATE=false install broken  #4414

@GeniusWiki

Description

@GeniusWiki

Got this weird issue for my production docker build. RUN POETRY_VIRTUALENVS_CREATE=false poetry install. I am still investigating why, but downgrade 1.1.7 fix this.

Step 13/18 : RUN POETRY_VIRTUALENVS_CREATE=false poetry install
 ---> Running in ce1f705aeb5b
Skipping virtualenv creation, as specified in config file.
Installing dependencies from lock file
Package operations: 116 installs, 13 updates, 0 removals
  
  • Installing click (7.1.2)
  OSError
  Could not find a suitable TLS CA certificate bundle, invalid path: /usr/local/lib/python3.8/dist-packages/certifi/cacert.pem
  at /usr/local/lib/python3.8/dist-packages/requests/adapters.py:227 in cert_verify
      223│             if not cert_loc:
      224│                 cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
      225│ 
      226│             if not cert_loc or not os.path.exists(cert_loc):
    → 227│                 raise IOError("Could not find a suitable TLS CA certificate bundle, "
      228│                               "invalid path: {}".format(cert_loc))
      229│ 
      230│             conn.cert_reqs = 'CERT_REQUIRED'

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions