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

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

Download URLs

Version SHA256 Size (KB)
2.3.15 de53100b0d74291a519a5932f959805d2dbeed4132b9f888549590365ebc2b53 370
2.3.14 bb382460ed1a0785f648efe4dbb19416f674a75c9a2cab589f75f80e029f59d1 369
2.3.13 5f34aae2f2db6a4d108358ce56207e0b8a5036d310f383d763bd028ac11bef26 367
2.3.12 aed66e2bd4d338f046e321999eeec8da68dcd20cef746b5cb287ac05a75aa13e 366
2.3.11 cd1e61a706d28549a1b40d5d34a4fef7d0368f8886d2bcbdbfb15457aafc50e5 365
2.3.10 b8f52346c8d718711f5d1ca74a5ea42fed1d235abb8e3ca4ca524850bb727d3f 351
2.3.9 4288d95ca765fa535587db30192ed69ed39136595ea27b1b89503e4a71f43694 348
2.3.8 b2378a1ccb99dee34eb5d8e7cfceeb24c5df4f634215fa027e0040bf74bfd67d 346
2.3.7 dbd140fa09826b0dd08511092f7487b61aeb96ee60a573e932d07160e6dc83ad 345
2.3.6 86ce517a21d023eb0b644825572b450edb2c3297c837ac5fd51d492a6b9f4215 344

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for pyenv are versionned 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
  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 versionned 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-1.zip
  sha256: 6e5e8223de00c28b8ab5de89bf8a7a12e944d0d1a1570682a7bc102538833da2
  timestamp: 2022-01-27 19:24:18+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.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.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.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

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