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

Adapt to distutils being removed in 3.12 #228

Closed
nanonyme opened this issue Apr 24, 2021 · 4 comments
Closed

Adapt to distutils being removed in 3.12 #228

nanonyme opened this issue Apr 24, 2021 · 4 comments
Labels
drop_py2 dev based on supporting only Python3, see #392 enhancement New feature or request
Milestone

Comments

@nanonyme
Copy link

Creating an issue about this for tracking. 3.10 release notes mark distutils as deprecated and set a date for removal https://docs.python.org/3.10/whatsnew/3.10.html#distutils

@nanonyme
Copy link
Author

This links to #216 in a way that it might or might not be harder to keep supporting Python 2 once distutils is gone.

@vasily-v-ryabov vasily-v-ryabov added the enhancement New feature or request label Apr 26, 2021
@junkmd junkmd added this to the 1.3.0 milestone Dec 5, 2022
@junkmd
Copy link
Collaborator

junkmd commented Dec 5, 2022

It would be good to work on this issue at the time of dropping Python 2.7 from support.

(related to #392)

@junkmd junkmd added the drop_py2 dev based on supporting only Python3, see #392 label Dec 11, 2022
@junkmd
Copy link
Collaborator

junkmd commented Jan 8, 2023

NOTE:

from #229 (comment)

Assumed first changes

comtypes/setup.py

Lines 7 to 11 in cc9a013

from distutils.core import Command
from distutils.command.install import install
from setuptools import setup
from distutils.command.build_py import build_py

from setuptools import Command, setup
from setuptools.command.install import install
from setuptools.command.build_py import build_py

@vasily-v-ryabov
Copy link
Collaborator

1.2.1 uses setuptools and supports both Python 3.12 and still Python 2.7. I think the issue can be closed.

@junkmd junkmd modified the milestones: 1.3.0, 1.2.1 Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drop_py2 dev based on supporting only Python3, see #392 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants