Commit eb403c4
authored
Use PEP 440 style requirements (#5673)
* Use PEP 440 direct references in requirements
This adds support for PEP 440 requirements instead of using the
pip-specific VCS format.
see: https://peps.python.org/pep-0440/#direct-references
This facilitates using newer tooling that does not support using the
legacy pip VCS format.
I adjusted the dist_utils.py functions to maintain the same functionality.
Note however that I plan to use pants to replace all the python packaging
bits, including dist_utils.py. So the dist_utils.py changes are a stop-gap
to keep things working until we get the rest of the pants changes in.
* logshipper is Linux only
Adding `platform_system=="Linux"` makes some development on MacOS X possible.
It at least makes it possible to build a virtualenv.
* standardize spacing on req markers
* make fixate-requirements work with pip-19.3.1 and PEP 440
This is not needed during `make wheelhouse` in st2-packages.
But, rpmbuild runs fixate-requirements again when running build_os_package.sh
in a new rpmbuild venv that does not have pip-20 yet.
So, this makes that corner case in our circleci workflow work like.
* add changelog entry1 parent e707f24 commit eb403c4
File tree
32 files changed
+149
-23
lines changed- contrib
- linux
- runners
- action_chain_runner
- announcement_runner
- http_runner
- inquirer_runner
- local_runner
- noop_runner
- orquesta_runner
- python_runner
- remote_runner
- winrm_runner
- scripts
- st2actions
- st2api
- st2auth
- st2client
- st2common
- st2reactor
- st2stream
- st2tests
32 files changed
+149
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments