This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ctypes on pypi has fallen behind
Type: enhancement Stage: resolved
Components: ctypes Versions: Python 3.7, Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: David Harding, ammar2
Priority: normal Keywords:

Created on 2020-02-23 04:38 by David Harding, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg362488 - (view) Author: David Harding (David Harding) Date: 2020-02-23 04:38
I wasn't sure where to report this.

ctypes currently bundled with Ubuntu 16.04 and 18.04 is version 1.1.0.

ctypes available through pypi is 1.0.2.

https://pypi.org/project/ctypes/

This makes maintaining a reproducible environment with venv kind of tricky. It would be desirable to catch the pypi version up to 1.1.0.

I don't really know who to bother about this, so I'm starting here.

Thanks!
msg362489 - (view) Author: Ammar Askar (ammar2) * (Python committer) Date: 2020-02-23 05:13
The ctypes on pypi is no longer maintained as it was merged by the original author Thomas Heller into python itself. 

This article goes over the history of it a little: https://blog.python.org/2011/04/thomas-heller-steps-down-as-ctypes.html

Why do you need the pypi version to be updated? You should just be able to import ctypes in your venv and have it use the one included in the standard library.
msg362498 - (view) Author: David Harding (David Harding) Date: 2020-02-23 10:00
Hi ammar2,

Your comment completely clears up my issue. I was just uninformed.

As you have stated, no change needs to be made to the pypi version.

To enforce a version of ctypes with venv/pip, I need only enforce a python version that is packaged with that version of ctypes.

I have closed this issue report. Thank you again for your time!
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 83907
2020-02-23 10:00:34David Hardingsetstatus: open -> closed
resolution: not a bug
messages: + msg362498

stage: resolved
2020-02-23 05:13:56ammar2setnosy: + ammar2
messages: + msg362489
2020-02-23 04:38:19David Hardingcreate