Commit b14c575
feat: use uv for project and dependency management
This commit replaces setuptools with uv, standardizing on pyproject.toml to define project
metadata
Major changes include:
- All metadata has been moved from `setup.py` to `pyproject.toml`
- `pyinfra` and `pyinfra_cli` packages now reside inside a `src` folder. The big advantage of this
is that this separates the code from tests and other files and prevents accidentally referencing
files that are not packaged when building the project
See: https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/
- All development commands for testing and linting are now run through `uv run`
- Dependency versions have been redefined using broader version ranges, but are kept to one
version through a lock file
- Python 3.9 support has been dropped (it will reach EOL 2025-10)
- Python 3.13 support has been added
- Github workflows have been rewritten to use uv
- Package version is now generated from git, using uv-dynamic-versioning1 parent eb0e683 commit b14c575
File tree
175 files changed
+2044
-335
lines changed- .github/workflows
- docs
- pyinfra_cli
- pyinfra
- scripts
- src
- pyinfra_cli
- pyinfra
- api
- connectors
- scp
- sshuserclient
- facts
- util
- operations
- freebsd
- util
- tests/test_cli
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
175 files changed
+2044
-335
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | | - | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 47 | | |
63 | 48 | | |
64 | 49 | | |
65 | 50 | | |
66 | 51 | | |
67 | 52 | | |
68 | 53 | | |
69 | | - | |
| 54 | + | |
70 | 55 | | |
71 | 56 | | |
72 | | - | |
| 57 | + | |
73 | 58 | | |
74 | 59 | | |
75 | 60 | | |
76 | | - | |
77 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
78 | 65 | | |
79 | | - | |
| 66 | + | |
80 | 67 | | |
81 | 68 | | |
82 | 69 | | |
| |||
90 | 77 | | |
91 | 78 | | |
92 | 79 | | |
93 | | - | |
| 80 | + | |
94 | 81 | | |
95 | 82 | | |
96 | 83 | | |
97 | | - | |
| 84 | + | |
98 | 85 | | |
99 | 86 | | |
100 | | - | |
| 87 | + | |
101 | 88 | | |
102 | 89 | | |
103 | | - | |
| 90 | + | |
104 | 91 | | |
105 | 92 | | |
106 | | - | |
| 93 | + | |
107 | 94 | | |
108 | 95 | | |
109 | 96 | | |
110 | | - | |
111 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
112 | 101 | | |
113 | 102 | | |
114 | | - | |
115 | 103 | | |
116 | 104 | | |
117 | 105 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | | - | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | | - | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | | - | |
76 | | - | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments