mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 09:10:20 +00:00
Add deprecation warnings and release notes about `setup.py
`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
63ade50e2b
commit
92cae105fd
2 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,12 @@
|
|||
Add release specific details below
|
||||
-->
|
||||
|
||||
## Salt's ``setup.py`` customizations
|
||||
> :warning: **Deprecation Notice**: <br>
|
||||
In Salt 3009, the ``setup.py`` file will be stripped of it's custom additions and migrated to a plain ``pyproject.toml`` python package
|
||||
or whatever is found best during the process of removing the customizations. <br>
|
||||
**If you're relying on these customizations please stop as your workflow will break in the future**.
|
||||
|
||||
## Python 3.11
|
||||
Salt's onedir packages now use Python 3.11
|
||||
|
||||
|
|
5
setup.py
5
setup.py
|
@ -1225,4 +1225,9 @@ if __name__ == "__main__":
|
|||
warnings.warn(
|
||||
"Warning: distutils is deprecated and shall be removed in Python 3.12, advise migrate to using setuptools"
|
||||
)
|
||||
warnings.warn(
|
||||
"In Salt 3009, the `setup.py` file will be stripped of it's custom additions and migrated to a plain "
|
||||
"`pyproject.toml` python package or whatever is found best during the process of removing the customizations. "
|
||||
"If you're relying on these customizations please stop as your workflow will break in the future."
|
||||
)
|
||||
setup(distclass=SaltDistribution)
|
||||
|
|
Loading…
Add table
Reference in a new issue