dckc / madmode-blog

my tinkering notebook (blog)
https://www.madmode.com
0 stars 2 forks source link

netlify build outdated by unbuntu 20.04; Pipenv fails #170

Closed dckc closed 1 year ago

dckc commented 1 year ago

ff70142 is failing to build.

Ubuntu 16.04 is no more

  UNSUPPORTED BUILD IMAGE

  The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.

  To enable builds for this site, select a later build image at the following link:
  https://app.netlify.com/sites/madmode-blog-dckc/settings/deploys#build-image-selection

  For more details, visit the build migration guide:
  https://answers.netlify.com/t/please-read-end-of-support-for-xenial-build-image-everything-you-need-to-know/68239

Pipenv borked

3:25:54 PM: Installing dependencies from Pipfile
3:25:54 PM: Creating a virtualenv for this project...
3:25:54 PM: Pipfile: /opt/build/repo/Pipfile
3:25:54 PM: Using /usr/bin/python2.7 (2.7.18) to create virtualenv...
3:25:55 PM: SystemExit: 2
3:25:55 PM: FAIL
3:25:55 PM: [pipenv.exceptions.VirtualenvCreationException]: usage: virtualenv [--version] [--with-traceback] [-v | -q] [--read-only-app-data] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--try-first-with py_exe]
3:25:55 PM:                   [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list]
3:25:55 PM: Creating deploy upload records
3:25:55 PM: virtualenv: error: argument --creator: invalid choice: 'venv' (choose from 'builtin', 'cpython2-posix')
3:25:55 PM: Failed to create virtual environment.
3:25:55 PM: Error installing Pipenv dependencies
3:25:55 PM: Please see https://github.com/netlify/build-image/blob/focal/included_software.md for current versions