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.4.23*

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

Download URLs

Version SHA256 Size (KB)
2.4.23 5156cb7d9ee774789eeb8324fad4cb1e9f7fb46630c5fb38dc8362acb957c23e 910
2.4.22 696ccb3de74fb4c1a31f48ee8b41e4be89caf40b6f785ff48d50be5f90b897ee 910
2.4.21 51a18cc2087af23d71b37d6086b9462039da486fa464aa424e0eace6f0dbab5a 909
2.4.20 50d1aeba7b89f0a8097dc977fd34586a015dfe9dd3b0ed7641bb8e253e848237 909
2.4.19 55759b98ea6d99726d13deef869572c97ee3806bf5c79f22c88222f289d3be4e 908
2.4.18 bf2269e8ce96a5310b0a7af33975d23926f5caa1c0cb8043ec913a4487d764df 409
2.4.17 1e70b5e718ad1ecdb97ab36b9017f0197f70e0703874ea828a0f5d99e5587ae6 409
2.4.16 03821d93eba4a4dd9e768a0ab3153394036723ff9325de956f10a5799e154a01 408
2.4.15 7852e032f605d3be220102f7233b56e8353de20e250036d048e702f88b9ff510 407
2.4.14 0e5ba2f492357b6f3aa1fabd40ce77edaa385d22fdcb766e9b70be80e71ea00d 407

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.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
      - 2.4.1
      - 2.4.2
      - 2.4.4
      - 2.4.7
      - 2.4.8
      - 2.4.9
      - 2.4.10
      - 2.4.11
      - 2.4.12
      - 2.4.13
      - 2.4.14
      - 2.4.15
      - 2.4.16
      - 2.4.17
      - 2.4.18
      - 2.4.19
      - 2.4.20
      - 2.4.21
      - 2.4.22
      - 2.4.23
  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.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-1.zip
  sha256: 6e5e8223de00c28b8ab5de89bf8a7a12e944d0d1a1570682a7bc102538833da2
  timestamp: 2022-01-27 19:24:18+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
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.1.zip
  sha256: 62b74419300d1a4a6aacdc2a6e0605a60a7de7cb006bae28e4e9ae9d34e4bf15
  timestamp: 2024-05-09 12:08:22+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.2.zip
  sha256: b510b9ef218ff901eca88b4d9fc48ddfaafabd222fdbf865cadafd837730b3a8
  timestamp: 2024-06-08 21:05:54+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.4.zip
  sha256: 99efd860466a18e92bcf633341b3158f5e301084a678829e78e7e7716f96b251
  timestamp: 2024-06-27 21:05:44+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.7.zip
  sha256: b5ff1378e4174147aed3eaeb6db8c9e05edff4c961a514c0583f5ef3df7bec64
  timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.8.zip
  sha256: 7175ed14a33b76047f8b99bdd54925bf7619261ccbaab111445b5fae133024ae
  timestamp: 2024-07-21 06:06:58+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.9.zip
  sha256: 215ba6b3859975fd70e2a27480156a4a30c927c5b2cb431dbda131c53b595a01
  timestamp: 2024-08-05 00:24:46+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.10.zip
  sha256: a7524176b07b01c4b925e78e465cf1bfd0447d5686029a43936d9db6ed3a2538
  timestamp: 2024-08-07 18:07:14+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.11.zip
  sha256: c187870cea2a738a5ff39ba80b191338a1efe708a743659eadc2bf3ba7731978
  timestamp: 2024-09-04 21:05:53+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.12.zip
  sha256: 3ccbf7d690ceb499a9bfe4298eeb12c934e0c25d7b849f3116eec8370243e441
  timestamp: 2024-09-07 18:06:47+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.13.zip
  sha256: 29bb4307cff2847ae85a338692b98f7ba97f6cf09cc68d47a0ea7c9d9a5c301b
  timestamp: 2024-09-18 06:08:25+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.14.zip
  sha256: 98baed4b7c73403fa3ceba39b24d8a679309b0f0b480f8d855465b581db7e521
  timestamp: 2024-10-10 21:05:56+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.15.zip
  sha256: e44e351c45d282d7fe293d3bc0be89c0a64aa54b6dd82a31f359c0652055fd23
  timestamp: 2024-10-11 15:06:02+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.16.zip
  sha256: ed4f260e203e1d8784c9d2ebf3182353aa95262fb12148156c86fa60bc719a98
  timestamp: 2024-10-17 18:07:30+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.17.zip
  sha256: 338b3862b3e025b799da58ce396d66a96da62c4ee1b712b063a32eb0460f2add
  timestamp: 2024-10-28 00:29:08+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.18.zip
  sha256: 5d9bdc38a3f80cb2ccafa554c7b612f8484c59c789b0a8e2e35a829a72c017ee
  timestamp: 2024-11-17 21:06:01+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.19.zip
  sha256: 3e924e66052f12c2250a92b02222a0a64f83bcc98b600fe10bef780a706d5a75
  timestamp: 2024-11-20 21:06:28+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.20.zip
  sha256: cf47422cd7fae8fc605e5e1b30202be1ca339861808cb4e242902fd240b9c0e6
  timestamp: 2024-12-04 03:20:42+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.21.zip
  sha256: d15fd4656bfc9e8cc363c3b2ae6ee19c62060b810354a1e619ab2750776d6374
  timestamp: 2024-12-06 00:29:36+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.22.zip
  sha256: a5d3e7764fc9bb7a4c9e4bcd2145759cb7c9b12c57b69bb093efca945b00a0ab
  timestamp: 2024-12-07 12:09:49+00:00
- url: https://github.com/pyenv/pyenv/archive/refs/tags/v2.4.23.zip
  sha256: bfbe444f6424d7e702e9661576591888a8b58166b2830ca89d9718b2e3e990c2
  timestamp: 2024-12-18 09:07:11+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