pyfirstaid 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/CHANGELOG.md +7 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/PKG-INFO +15 -2
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/README.md +5 -1
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/pyproject.toml +9 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/__init__.py +1 -1
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/venv.py +2 -1
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/.github/workflows/ci.yml +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/.github/workflows/publish.yml +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/.gitignore +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/LICENSE +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/scripts/build_pyz.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/__main__.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/__init__.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/broken_installs.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/compiled.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/dependencies.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/encoding.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/leaks.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/path_check.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/permissions.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/pip_mismatch.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/python_version.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/shadowing.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/checks/ssl_check.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/cli.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/delegate.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/model.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/report.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/src/pyfirstaid/util.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/tests/test_checks.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/tests/test_cli.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/tests/test_delegate.py +0 -0
- {pyfirstaid-0.2.2 → pyfirstaid-0.2.3}/tests/test_more_checks.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
- Clearer PEP 668 message: it now says the block can come from your OS *or* a package
|
|
6
|
+
manager such as Homebrew.
|
|
7
|
+
- PyPI page: version, Python-versions, downloads and license badges; Source and Changelog
|
|
8
|
+
links; per-version Python classifiers (3.9–3.14).
|
|
9
|
+
|
|
3
10
|
## 0.2.2
|
|
4
11
|
|
|
5
12
|
Fixes found by testing on a real Mac with Homebrew Python:
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pyfirstaid
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: First aid for broken Python environments: finds what's wrong and tells you how to fix it.
|
|
5
5
|
Project-URL: Homepage, https://github.com/sai-sakalam/pyfirstaid
|
|
6
|
+
Project-URL: Source, https://github.com/sai-sakalam/pyfirstaid
|
|
6
7
|
Project-URL: Issues, https://github.com/sai-sakalam/pyfirstaid/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/sai-sakalam/pyfirstaid/blob/main/CHANGELOG.md
|
|
7
9
|
Author: Sai Gavaskar Sakalam
|
|
8
10
|
License-Expression: MIT
|
|
9
11
|
License-File: LICENSE
|
|
@@ -13,6 +15,13 @@ Classifier: Environment :: Console
|
|
|
13
15
|
Classifier: Intended Audience :: Developers
|
|
14
16
|
Classifier: Operating System :: OS Independent
|
|
15
17
|
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
25
|
Classifier: Topic :: Software Development :: Debuggers
|
|
17
26
|
Classifier: Topic :: System :: Installation/Setup
|
|
18
27
|
Requires-Python: >=3.9
|
|
@@ -22,11 +31,15 @@ Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
|
22
31
|
Description-Content-Type: text/markdown
|
|
23
32
|
|
|
24
33
|
# pyfirstaid 🩹
|
|
34
|
+
[](https://pypi.org/project/pyfirstaid/)
|
|
35
|
+
[](https://pypi.org/project/pyfirstaid/)
|
|
36
|
+
[](https://pepy.tech/projects/pyfirstaid)
|
|
25
37
|
[](https://github.com/sai-sakalam/pyfirstaid/actions/workflows/ci.yml)
|
|
38
|
+
[](https://github.com/sai-sakalam/pyfirstaid/blob/main/LICENSE)
|
|
26
39
|
|
|
27
40
|
**First aid for broken Python environments.** One command tells you *what's broken* and *exactly how to fix it*.
|
|
28
41
|
|
|
29
|
-
> **Status:
|
|
42
|
+
> **Status: early, actively developed.** 12 checks, tested on Windows, macOS and Linux (Python 3.9–3.14).
|
|
30
43
|
> Feedback is very welcome in [Issues](https://github.com/sai-sakalam/pyfirstaid/issues). *Which problems do you hit most?*
|
|
31
44
|
|
|
32
45
|
---
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# pyfirstaid 🩹
|
|
2
|
+
[](https://pypi.org/project/pyfirstaid/)
|
|
3
|
+
[](https://pypi.org/project/pyfirstaid/)
|
|
4
|
+
[](https://pepy.tech/projects/pyfirstaid)
|
|
2
5
|
[](https://github.com/sai-sakalam/pyfirstaid/actions/workflows/ci.yml)
|
|
6
|
+
[](https://github.com/sai-sakalam/pyfirstaid/blob/main/LICENSE)
|
|
3
7
|
|
|
4
8
|
**First aid for broken Python environments.** One command tells you *what's broken* and *exactly how to fix it*.
|
|
5
9
|
|
|
6
|
-
> **Status:
|
|
10
|
+
> **Status: early, actively developed.** 12 checks, tested on Windows, macOS and Linux (Python 3.9–3.14).
|
|
7
11
|
> Feedback is very welcome in [Issues](https://github.com/sai-sakalam/pyfirstaid/issues). *Which problems do you hit most?*
|
|
8
12
|
|
|
9
13
|
---
|
|
@@ -18,6 +18,13 @@ classifiers = [
|
|
|
18
18
|
"Intended Audience :: Developers",
|
|
19
19
|
"Operating System :: OS Independent",
|
|
20
20
|
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.9",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
"Programming Language :: Python :: 3.14",
|
|
27
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
21
28
|
"Topic :: Software Development :: Debuggers",
|
|
22
29
|
"Topic :: System :: Installation/Setup",
|
|
23
30
|
]
|
|
@@ -31,7 +38,9 @@ pyfirstaid = "pyfirstaid.cli:main"
|
|
|
31
38
|
|
|
32
39
|
[project.urls]
|
|
33
40
|
Homepage = "https://github.com/sai-sakalam/pyfirstaid"
|
|
41
|
+
Source = "https://github.com/sai-sakalam/pyfirstaid"
|
|
34
42
|
Issues = "https://github.com/sai-sakalam/pyfirstaid/issues"
|
|
43
|
+
Changelog = "https://github.com/sai-sakalam/pyfirstaid/blob/main/CHANGELOG.md"
|
|
35
44
|
|
|
36
45
|
[tool.hatch.version]
|
|
37
46
|
path = "src/pyfirstaid/__init__.py"
|
|
@@ -62,7 +62,8 @@ def run_check(opts: Options) -> List[Finding]:
|
|
|
62
62
|
findings.append(Finding(
|
|
63
63
|
CHECK_ID, Status.WARN,
|
|
64
64
|
"No virtual environment, and this system Python blocks pip installs",
|
|
65
|
-
detail="Your OS marks this Python as
|
|
65
|
+
detail="Your OS or package manager (e.g. Homebrew) marks this Python as "
|
|
66
|
+
"externally managed (PEP 668), "
|
|
66
67
|
"so `pip install` will fail with 'externally-managed-environment'.",
|
|
67
68
|
fix="python -m venv .venv && " + activate_command(".venv"),
|
|
68
69
|
))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|