You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Brandon,
as python versions moving forward, I looked how to include python 3.12 in the GitHub action. So far, building all variants of wheels getting more and more complicated. My intension would be to drop 32bit support for windows and linux as we don't have it for aarch64 and macOS anyway and update the underlying build process.
What do you think about it ?
Best regards
Michel
As of my last knowledge update in September 2021, Python 3.12 had not been released. Therefore, my information might be outdated. However, I can provide you with general guidance on adding support for a new Python version in the context of creating wheels.
Here are the general steps you can follow to add support for Python 3.12 in wheels:
Check Compatibility:
Before making any changes, ensure that the libraries and dependencies your project relies on are compatible with Python 3.12. Check the release notes and documentation of your project's dependencies to see if they officially support Python 3.12.
Update Metadata:
In your project's setup.py or pyproject.toml, update the metadata to include Python 3.12 in the list of supported Python versions. For example:
python
setup.py
from setuptools import setup
setup(
# other metadata
python_requires='>=3.6, <=3.12',
# other configuration
)
or for pyproject.toml:
Update CI/CD Configuration:
If you have continuous integration (CI) or continuous deployment (CD) processes, update the configuration to include testing against Python 3.12.
Test:
Run your test suite against Python 3.12 to ensure that your project works as expected. Resolve any issues that arise.
Update Documentation:
If your project has documentation, update it to reflect support for Python 3.12.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Brandon,
as python versions moving forward, I looked how to include python 3.12 in the GitHub action. So far, building all variants of wheels getting more and more complicated. My intension would be to drop 32bit support for windows and linux as we don't have it for aarch64 and macOS anyway and update the underlying build process.
What do you think about it ?
Best regards
Michel
Beta Was this translation helpful? Give feedback.
All reactions