Skip to content

Conversation

miles170
Copy link
Contributor

@miles170 miles170 commented Dec 5, 2022

Closes #26548.

  1. upgrade Ubuntu Bionic to Jammy
  2. use Pyenv to install Python 3.6.5 (The Python version is determined by the .python-version file in the project root)
  3. cache PYENV_ROOT to skip compiling Python source code after the first run.

@DrahtBot
Copy link
Contributor

DrahtBot commented Dec 5, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.
A summary of reviews will appear here.

@DrahtBot DrahtBot added the Tests label Dec 5, 2022
@fanquake
Copy link
Member

fanquake commented Dec 5, 2022

Thanks. Note that this is already being worked on in #26581.

@miles170 miles170 closed this Dec 5, 2022
@maflcko
Copy link
Member

maflcko commented Dec 5, 2022

@fanquake Are you sure? It looks like there hasn't been any activity for a week, despite feedback

@miles170
Copy link
Contributor Author

miles170 commented Dec 5, 2022

I can reopen the PR if necessary.

@fanquake
Copy link
Member

fanquake commented Dec 5, 2022

I'm sure that there is already a PR open working on the same issue. If that one turns out to be abandoned, we can re open this. I don't think we need competing PRs open (especially for issues like this), to further disperse reviewer attention / time.

maflcko pushed a commit that referenced this pull request Jan 17, 2023
123043e ci: Bump lint task image to Ubuntu Jammy (Hennadii Stepanov)
9b86114 ci: Use pyenv's `python-build` to install Python in lint task (Hennadii Stepanov)

Pull request description:

  This PR:
  - is an alternative to #26581 and #26637
  - closes #26548

  Key advantages of this PR over others:
  - it uses pyenv's `python-build` [standalone](https://github.com/pyenv/pyenv/tree/master/plugins/python-build#using-python-build-standalone)
  - requires no additional computational resources

  Note for testing. The lint task must success regardless of whether the `python_cache` is populated or invalidated.

ACKs for top commit:
  MarcoFalke:
    ACK 123043e
  fanquake:
    ACK 123043e

Tree-SHA512: ba0fcdd4f2939a59692b173dcd1f5704444cfcfbb8111538c6f8160056d0536bba250e4f9b0f8c66f8b454e52034bf36ffe6afae76cdc0f7cc5b58b576d790ba
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jan 17, 2023
123043e ci: Bump lint task image to Ubuntu Jammy (Hennadii Stepanov)
9b86114 ci: Use pyenv's `python-build` to install Python in lint task (Hennadii Stepanov)

Pull request description:

  This PR:
  - is an alternative to bitcoin#26581 and bitcoin#26637
  - closes bitcoin#26548

  Key advantages of this PR over others:
  - it uses pyenv's `python-build` [standalone](https://github.com/pyenv/pyenv/tree/master/plugins/python-build#using-python-build-standalone)
  - requires no additional computational resources

  Note for testing. The lint task must success regardless of whether the `python_cache` is populated or invalidated.

ACKs for top commit:
  MarcoFalke:
    ACK 123043e
  fanquake:
    ACK 123043e

Tree-SHA512: ba0fcdd4f2939a59692b173dcd1f5704444cfcfbb8111538c6f8160056d0536bba250e4f9b0f8c66f8b454e52034bf36ffe6afae76cdc0f7cc5b58b576d790ba
@bitcoin bitcoin locked and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Use pyenv for the lint task
4 participants