Skip to content

Commit 036b03e

Browse files
authored
PEP-514 support via winreg (#1310)
* pep-514 implementation * reorganize interpreter * report failures * report failures
1 parent c3da8e7 commit 036b03e

File tree

15 files changed

+570
-358
lines changed

15 files changed

+570
-358
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ repos:
1212
additional_dependencies: [black==19.3b0]
1313
language_version: python3.7
1414
- repo: https://github.com/asottile/seed-isort-config
15-
rev: v1.7.0
15+
rev: v1.9.0
1616
hooks:
1717
- id: seed-isort-config
1818
args: [--application-directories, "src:."]
1919
- repo: https://github.com/pre-commit/mirrors-isort
20-
rev: v4.3.15
20+
rev: v4.3.20
2121
hooks:
2222
- id: isort
2323
- repo: https://github.com/pre-commit/pre-commit-hooks
24-
rev: v2.1.0
24+
rev: v2.2.3
2525
hooks:
2626
- id: trailing-whitespace
2727
- id: end-of-file-fixer
2828
- id: check-yaml
2929
- id: debug-statements
3030
- id: flake8
31-
additional_dependencies: ["flake8-bugbear == 18.8.0"]
31+
additional_dependencies: ["flake8-bugbear == 19.3.0"]
3232
language_version: python3.7
3333
- repo: https://github.com/asottile/pyupgrade
34-
rev: v1.12.0
34+
rev: v1.17.1
3535
hooks:
3636
- id: pyupgrade
3737
- repo: https://github.com/pre-commit/pygrep-hooks
38-
rev: v1.2.0
38+
rev: v1.4.0
3939
hooks:
4040
- id: rst-backticks

docs/changelog/1306.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Turns out the output of the ``py -0p`` is not stable yet and varies depending on various edge cases. Instead now we read the interpreter values directly from registry via `PEP-514 <https://www.python.org/dev/peps/pep-0514>`_ - by :user:`gaborbernat`.

src/tox/interpreters.py

Lines changed: 0 additions & 328 deletions
This file was deleted.

0 commit comments

Comments
 (0)