Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 35 package DeprecationWarnings #12833

Closed
behlendorf opened this issue Dec 10, 2021 · 0 comments · Fixed by #14177
Closed

Fedora 35 package DeprecationWarnings #12833

behlendorf opened this issue Dec 10, 2021 · 0 comments · Fixed by #14177
Labels
Component: Packaging custom packages

Comments

@behlendorf
Copy link
Contributor

System information

Type Version/Name
Distribution Name Fedora
Distribution Version 35
Kernel Version 5.15.6-200.fc35
Architecture x86_64
OpenZFS Version zfs-2.1.99-566-g1098e46d8

Describe the problem you're observing

The following DeprecationWarnings were observed on Fedora 35 when installing the packages. For the moment they shouldn't cause any issues but we will need to be resolved.

Building initial module for 5.15.6-200.fc35.x86_64
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:4: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:3: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<stdin>:2: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
Done.

Describe how to reproduce the problem

Install for the Fedora OpenZFS repository.

dnf install kernel-devel zfs

@behlendorf behlendorf added the Component: Packaging custom packages label Dec 10, 2021
szubersk added a commit to szubersk/zfs that referenced this issue Nov 13, 2022
`distutils` module is long time deprecated and already deleted
from the CPython mainline.

Fix openzfs#12833
Fix openzfs#13280
Signed-off-by: szubersk <szuberskidamian@gmail.com>
szubersk added a commit to szubersk/zfs that referenced this issue Nov 13, 2022
`distutils` module is long time deprecated and already deleted
from the CPython mainline.

Fix openzfs#12833
Fix openzfs#13280
Signed-off-by: szubersk <szuberskidamian@gmail.com>
szubersk added a commit to szubersk/zfs that referenced this issue Nov 16, 2022
`distutils` module is long time deprecated and already deleted
from the CPython mainline.

Fix openzfs#12833
Fix openzfs#13280
Signed-off-by: szubersk <szuberskidamian@gmail.com>
szubersk added a commit to szubersk/zfs that referenced this issue Nov 17, 2022
`distutils` module is long time deprecated and already deleted
from the CPython mainline.

Fix openzfs#12833
Fix openzfs#13280
Signed-off-by: szubersk <szuberskidamian@gmail.com>
szubersk added a commit to szubersk/zfs that referenced this issue Nov 20, 2022
`distutils` module is long time deprecated and already deleted
from the CPython mainline.

Fix openzfs#12833
Fix openzfs#13280
Signed-off-by: szubersk <szuberskidamian@gmail.com>
szubersk added a commit to szubersk/zfs that referenced this issue Nov 27, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Fix openzfs#12833
Fix openzfs#13280

Signed-off-by: szubersk <szuberskidamian@gmail.com>
behlendorf pushed a commit that referenced this issue Nov 28, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12833 
Closes #13280 
Closes #14177
usaleem-ix pushed a commit to truenas/zfs that referenced this issue Dec 16, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833
Closes openzfs#13280
Closes openzfs#14177
usaleem-ix pushed a commit to truenas/zfs that referenced this issue Dec 16, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833
Closes openzfs#13280
Closes openzfs#14177
andrewc12 pushed a commit to andrewc12/openzfs that referenced this issue Dec 16, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833 
Closes openzfs#13280 
Closes openzfs#14177
andrewc12 pushed a commit to andrewc12/openzfs that referenced this issue Dec 17, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833 
Closes openzfs#13280 
Closes openzfs#14177
usaleem-ix pushed a commit to truenas/zfs that referenced this issue Dec 17, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833
Closes openzfs#13280
Closes openzfs#14177
usaleem-ix pushed a commit to truenas/zfs that referenced this issue Dec 22, 2022
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes openzfs#12833
Closes openzfs#13280
Closes openzfs#14177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Packaging custom packages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant