You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- use your own precompiled python with `--enabled-shared` options then fork the official heroku [python buildspacks](https://github.com/heroku/heroku-buildpack-python) and change the `BUILDPACK_S3_BASE_URL` with your own uploaded precompiled python in Amazon's S3.
192
-
- use 3rd party buildpacks from the [markets](https://elements.heroku.com/buildpacks) that have python with `--enabled-shared` option.
193
-
194
-
195
-
The buildpack will expect to find both a `runtime.txt` and a `requirements.txt`
170
+
The Python buildpack will expect to find both a `.python-version` and a `requirements.txt`
196
171
file in the root of your project. You will need to add these to specify the
197
172
version of Python and any packages to be installed via `pip`, _e.g_ to use
198
-
version Python 3.8.1 and version 2.5 of the 'networkx' package:
173
+
the latest patch version Python 3.12 and version 2.5 of the 'networkx' package:
199
174
200
-
$ echo "python-3.8.1" >> runtime.txt
175
+
$ echo "3.12" > .python-version
201
176
$ echo "networkx==2.5" >> requirements.txt
202
177
203
178
Commit these two files into project's repository. You'll use these to manage
@@ -216,12 +191,11 @@ For a Ruby/Rails application this will typically report the stock `heroku/ruby`
216
191
buildpack, or possibly both `heroku/ruby` and `heroku/nodejs`.
217
192
218
193
Clear the list and progressively add back your buildpacks, starting with the Python
219
-
community-developed buildpack. For example, if `ruby` and `nodejs` buildpacks were
220
-
previously installed, and chosing the 'ReforgeHQ' buildback, your setup process will
221
-
be similar to this:
194
+
buildpack. For example, if `ruby` and `nodejs` buildpacks were previously installed,
0 commit comments