Hey folks,
very happy netlify user here so far however, now we have an issue. We’re hosting our project-documentation via netlify. Our project is built on python. Although the page-generation is also built in python, i’m keeping that separate as we might use different python-versions. It worked so far setting the Env-Var PYTHON_VERSION
to 3.8 but now we’re migrating to python 3.10 and for some reason netlify has an issue installing the requirements.txt.
https://app.netlify.com/sites/specter-desktop-docs/deploys/6274dc91af90a900082301ec
10:31:01 AM: Collecting backports.zoneinfo; python_version >= "3.6" and python_version < "3.9"
10:31:01 AM: ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
10:31:01 AM: backports.zoneinfo; python_version >= "3.6" and python_version < "3.9" from https://files.pythonhosted.org/packages/1a/ab/3e941e3fcf1b7d3ab3d0233194d99d6a0ed6b24f8f956fc81e47edc8c079/backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl#sha256=7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9 (from pytz-deprecation-shim==0.1.0.post0->-r requirements.txt (line 400))
So i’d be very happy if netlify would simply ignore my requiements.txt. This seems to be possible if you use yarn by NETLIFY_USE_YARN
. How can i make netlify ignore the requirements.txt
?
I looked into the build-image and it doesn’t seem to be possible:
Or am i missing something?
thanks
k9ert