Skip to content

Conversation

@kristapsk
Copy link
Contributor

Before this all linters were ran by /usr/bin/env python3, no matter what was used to run test/lint/all-lint.py. This change allows to use non-default Python executable for test/lint/all-lint.py and then all subprocesses will also use same Python interpreter (for example, python3.10 ./test/lint/all-lint.py). See #26792 (comment) as use case.

@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 3, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK fanquake

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Jan 3, 2023
@maflcko
Copy link
Member

maflcko commented Jan 3, 2023

lgtm. Suggested this in #24982 (comment)

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK f6eadaa - did not test

@maflcko maflcko merged commit 4bb840a into bitcoin:master Jan 4, 2023
@kristapsk kristapsk deleted the all-lint-python-executable branch January 4, 2023 13:07
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jan 4, 2023
…s as for `all-lint.py`

f6eadaa Use same Python executable for subprocesses as for all-lint.py (Kristaps Kaupe)

Pull request description:

  Before this all linters were ran by `/usr/bin/env python3`, no matter what was used to run `test/lint/all-lint.py`. This change allows to use non-default Python executable for `test/lint/all-lint.py` and then all subprocesses will also use same Python interpreter (for example, `python3.10 ./test/lint/all-lint.py`). See bitcoin#26792 (comment) as use case.

ACKs for top commit:
  fanquake:
    ACK f6eadaa - did not test

Tree-SHA512: 4da3b5581a0dd8ab9a6387829495019091a93a7ceaf2135d65d40a1983fd11a0b92b20891ef30d2a132abb0a690cd9b2f7eb5fcc38df06a340394ef449d640af
@bitcoin bitcoin locked and limited conversation to collaborators Jan 4, 2024
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.

4 participants