Skip to content

pyenv

Simple Python version management

Tool that lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

dev

https://github.com/pyenv/pyenv

all

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install pyenv

sudo apt install pyenv

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    pyenv=2.3.36*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      pyenv=2.3.36*

Download URLs

Version SHA256 Size (KB)
2.3.36 096d3bf0c9d41ceecdf53c7443c7f87b7bcc2113fc48c8623c9c6a79655094ea 391
2.3.35 68cc49979578e53a9c92ff7d008bc0c30892d3fccc99d52f36bf5eb9fbc46838 386
2.3.34 c67f2f5fe017e827f7ad2464d97a51665dcd84b0070f9548e037ee7e15b40730 386
2.3.33 2b3b46e47c0185a93abb7e5f0e656bc643747a05f41e37737ae8094f18226d07 386
2.3.32 fb071ab3aec9dff9a1c45644d17a9910d58dafadb96ca513fa8fe66ef13a1e2c 384
2.3.31 fc8d3ca3bdbbd7c59bc7441badea4627886394c0569c6f187c1988bbd1958770 384
2.3.29 4aee3844bbdd67064543b2f8146cd101d38bd742cc1f05c2b8ed2c861c14b0e3 381
2.3.28 a5f83b720e15e8d284e1fef82e9f1093e58773d4e0780ee1369f7e258fd16862 380
2.3.27 f79a68c8c8aa872e6312ff30a3f65db9e7a853b4a07e3f56dd30560ab7859075 380
2.3.26 b63d9f893a4d1661efb3c201b42f7d23ba359b3d8df8cf27090c8ca2a02b2c3c 380

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for pyenv are versioned here.

Click here to see pyenv ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/pyenv/ops2deb.yml
- name: pyenv
  matrix:
    versions:
      - 2.2.3
      - 2.2.5
  revision: "2"
  architecture: all
  homepage: https://github.com/pyenv/pyenv
  summary: simple Python version management
  description: |-
    Tool that lets you easily switch between multiple versions of Python. It's
    simple, unobtrusive, and follows the UNIX tradition of single-purpose tools
    that do one thing well.
  fetch: https://github.com/pyenv/pyenv/archive/refs/tags/v{{version}}.zip
  install:
    - content: if [[ -f /usr/bin/pyenv ]]; then eval "$(pyenv init --path)"; fi
      path: /etc/profile.d/ops2deb-pyenv.sh
    - pyenv-{{version}}:/usr/lib/pyenv
  script:
    - chmod +x {{src}}/usr/lib/pyenv/libexec/* {{src}}/usr/lib/pyenv/plugins/python-build/bin/*
    - ln -s /usr/lib/pyenv/libexec/pyenv {{src}}/usr/bin/pyenv

- name: pyenv
  matrix:
    versions:
      - 2.2.2
      - 2.2.4
      - 2.2.5
      - 2.3.0
      - 2.3.1
      - 2.3.2
      - 2.3.3
      - 2.3.4
      - 2.3.5
      - 2.3.6
      - 2.3.7
      - 2.3.8
      - 2.3.9
      - 2.3.10
      - 2.3.11
      - 2.3.12
      - 2.3.13
      - 2.3.14
      - 2.3.15
      - 2.3.16
      - 2.3.17
      - 2.3.18
      - 2.3.19
      - 2.3.20
      - 2.3.21
      - 2.3.22
      - 2.3.23
      - 2.3.24
      - 2.3.25
      - 2.3.26
      - 2.3.27
      - 2.3.28
      - 2.3.29
      - 2.3.31
      - 2.3.32
      - 2.3.33
      - 2.3.34
      - 2.3.35
      - 2.3.36
      - 2.4.0
  architecture: all
  homepage: https://github.com/pyenv/pyenv
  summary: simple Python version management
  description: |-
    Tool that lets you easily switch between multiple versions of Python. It's
    simple, unobtrusive, and follows the UNIX tradition of single-purpose tools
    that do one thing well.
  fetch: https://github.com/pyenv/pyenv/archive/refs/tags/v{{version}}.zip
  install:
    - content: if [[ -f /usr/bin/pyenv ]]; then eval "$(pyenv init --path)"; fi
      path: /etc/profile.d/ops2deb-pyenv.sh
    - pyenv-{{version}}:/usr/lib/pyenv
  script:
    - chmod +x {{src}}/usr/lib/pyenv/libexec/* {{src}}/usr/lib/pyenv/plugins/python-build/bin/*
    - ln -s /usr/lib/pyenv/libexec/pyenv {{src}}/usr/bin/pyenv

The blueprint fetch keyword contains a URL template pointing to pyenv releases. Downloaded files are locked in a lockfile versioned here.

Click here to see pyenv release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/pyenv/ops2deb.lock.yml
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.2.2.zip
  sha256: 37e2a008136f1833a7177e8ed123412136d198292760d1fab5ee38ee017e74a5
  timestamp: 2021-12-16 19:06:05+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.2.3.zip
  sha256: e47ce03ed4914882ae0cd3b012b3e5a230e129f074c1436769cff8b7147af8a5
  timestamp: 2021-12-27 15:20:02+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.2.4.zip
  sha256: 73ab87c5099192d9830e423b56b55718ee70719b61e2e4672bca5b31bfa1694a
  timestamp: 2022-01-27 02:08:23+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.2.4-1.zip
  sha256: 6e5e8223de00c28b8ab5de89bf8a7a12e944d0d1a1570682a7bc102538833da2
  timestamp: 2022-01-27 19:24:18+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.2.5.zip
  sha256: 2e87a2c101c225d8b0c68cbc4490526c15654decac7989fb3846489c16849816
  timestamp: 2022-03-20 22:19:27+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.0.zip
  sha256: b85b391213ada32334ad56cff44ad5bb58da18d021356ffbe81c5d55e1a19f99
  timestamp: 2022-05-04 04:01:14+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.1.zip
  sha256: 87b1e28181b430158f67c5368a93198eae3263f87eea5827eb77f0e00b6a3964
  timestamp: 2022-05-29 20:26:53+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.2.zip
  sha256: 2fdbcf69e7f678737fc98091294469ae3ec7445f207aa32c878c133e3d1833ee
  timestamp: 2022-06-30 17:25:30+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.3.zip
  sha256: 8f062f3915eef7a049de46932152c44970181721112c6abc2574fec2b201c773
  timestamp: 2022-08-02 23:19:39+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.4.zip
  sha256: 4b06abcc0f329661098090f0c8a7dfcc04be81d9f12e00a57bb8a6c25462b407
  timestamp: 2022-09-04 04:27:37+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.5.zip
  sha256: 25cc047e1277ee1ac6c3726ff0893aea3ced796e22cd4a594d490320532f84c1
  timestamp: 2022-10-08 20:31:14+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.6.zip
  sha256: 83c4121e4c013d2027a775f1ca3efdbf6ef6e8cc079e8af738e0dd6dca6bbc67
  timestamp: 2022-11-03 10:23:36+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.7.zip
  sha256: 6d4822fa9318d61c27d6ba8d9f8d2b779d42400b44350c7b2ae33b0c6e630039
  timestamp: 2022-12-01 13:43:13+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.8.zip
  sha256: fb444e7a27e8ef00f0820069a9ad768f1fde14c8678ec69f7a8d0b821753c865
  timestamp: 2022-12-08 10:18:55+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.9.zip
  sha256: 831000a2534bba60cdc4db5b2b952660dfdc018fc4d6392ef2389f4a351872e2
  timestamp: 2022-12-19 07:23:44+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.10.zip
  sha256: 93f8d4a9040b7f4a65f204cddd76341d3602121da9cb21187cd89454aa02cc6c
  timestamp: 2023-01-10 19:24:10+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.11.zip
  sha256: dac365ef23c50bd7be15e689e0b0aad69ca4cc74a513d5222c309c02467a0798
  timestamp: 2023-01-15 13:33:25+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.12.zip
  sha256: 85c04ac44231a1305ebe838e14faeca0b4e3751bd3d15d9aaee4acd38606ac62
  timestamp: 2023-01-30 10:19:06+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.13.zip
  sha256: 250208d8e6826ade84c9cf84c54d60fefcaf06dd679dd74f3250d5b7fdff71b4
  timestamp: 2023-02-15 07:25:57+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.14.zip
  sha256: b4c26c9a007e7564807178e22d356caf7ce8dccb7c268748977bdef8a9783e9b
  timestamp: 2023-03-01 07:26:38+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.15.zip
  sha256: cba6390a8bd53a5b7c142972f57c87b04f57a0d3ba5dbed58deb9156f4978e23
  timestamp: 2023-03-10 06:25:55+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.16.zip
  sha256: 8323b76ac3391f7b8c6ebf982de7ac423b6d955bdc0823b41d6b37076a4436c9
  timestamp: 2023-03-24 06:22:37+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.17.zip
  sha256: f914f2fde962968d381c84bbf7851d01f74d4c3d3abb863ff6004b8098c45b19
  timestamp: 2023-04-06 06:21:51+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.18.zip
  sha256: 3b591f98114e5c68fadc9b6870d1b59ba4a40c5c4b470ba4712c9e07a27926cc
  timestamp: 2023-05-25 09:16:48+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.19.zip
  sha256: 1cc827f3b75ba6c4f3205652e7fdcb2a384724672e8fdd21028be25176d100d2
  timestamp: 2023-06-08 12:32:39+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.20.zip
  sha256: de3f615e419482e320afea36de27d9e182dac0592fb9dc1e0f2e01a37cd83017
  timestamp: 2023-06-12 09:17:36+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.21.zip
  sha256: 9a4a19af1ffd15d10d98a083013f0c071a972b35e69f5520a48ef37aa91abaa7
  timestamp: 2023-06-20 12:35:26+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.22.zip
  sha256: f5f32130d8e075e23d4cdb572026b651471c16e1a1390e0c0a63996999ff0395
  timestamp: 2023-07-08 21:15:17+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.23.zip
  sha256: 651660af2c01890be9b71206f7e316cdd54b740f8f51085dc48727a1d00267cb
  timestamp: 2023-07-27 09:16:48+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.24.zip
  sha256: 5954c0f7db7675de84c458d1bbe8a43864509906cfe4b775e367c9a3faa38d19
  timestamp: 2023-08-11 12:30:26+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.25.zip
  sha256: 2d8f37174a08bd955c4cc0bcc4ffd2f526e2fe156389be8b29eaf10997bba85c
  timestamp: 2023-08-27 09:14:16+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.26.zip
  sha256: 5f9d2bb86c444c3cad335f4899986fe9956be927472807bb6c59cb882c073cdf
  timestamp: 2023-09-07 09:16:34+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.27.zip
  sha256: 40cfcdea1ead55adb939c8a114ca66fe89bef9ffab9de2aa982514ffb7a52fd9
  timestamp: 2023-09-17 09:14:51+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.28.zip
  sha256: 27d7513eb8e380192611114df9fe3c881e4f1cca733e478e3ce08b2b2aec2792
  timestamp: 2023-10-02 18:22:13+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.29.zip
  sha256: e0f7369dbba163736c85965feed936bfbb5866e7a42ff8e51780ffb9105ff4dd
  timestamp: 2023-10-06 06:22:40+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.31.zip
  sha256: d1346e4c4507996d1163c8d1f0c04f299f776832943bc45460cf1928f00a42e8
  timestamp: 2023-10-22 12:30:05+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.32.zip
  sha256: f317097f972860ddda9e8439c11ef3a96a6c7899f2ff02364893ca57198cb1f1
  timestamp: 2023-11-12 18:19:35+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.33.zip
  sha256: 70ea849d8d5f171f6b8cbdd6536c4d0ce55f71cdef54deacc9e75342511234af
  timestamp: 2023-11-27 15:18:33+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.34.zip
  sha256: 576602daf7d177feb26a0750ee18ee459404390561a545570b3702973dd441ed
  timestamp: 2023-12-06 06:22:38+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.35.zip
  sha256: 9b50b688ff1a9325aadda4972bd5ad6ac113957c9ce79887e4157d6463fcf200
  timestamp: 2023-12-11 11:25:21+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.3.36.zip
  sha256: 866be92826942e28accccd68df0747dc85aecb87e5519db5a8d65148b781019f
  timestamp: 2024-02-14 00:20:29+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.0.zip
  sha256: 57ffdc547a6f2b4141f974734ec255eb869bbd9ad40892a5c7ee6db7a5044812
  timestamp: 2024-04-07 21:05:47+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/pyenv.svg)](https://docs.wakemeops.com/packages/pyenv)
<a href="https://docs.wakemeops.com/packages/pyenv">
  <img src="https://docs.wakemeops.com/badges/pyenv.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/pyenv.svg
:target: https://docs.wakemeops.com/packages/pyenv