Free-threading support

Aperta
#642 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
database

Direzione di ricerca

Start by reading the project’s Cython extension modules and Python packaging configuration to see how extension modules and interpreter wheels are declared. Check the free-threaded CPython compatibility requirements for Python 3.14 and 3.15, then assess what changes and validation would be needed for cp314t and cp315t wheels. Done means the driver can be imported and used on free-threaded builds without re-enabling the GIL.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Python 3.14 and 3.15 officially support the free-threaded build (PEP 703, PEP 779). python-oracledb does not publish cp314t / cp315t wheels. Its Cython extension modules do not declare that they are GIL-free compatible. So when python-oracledb is imported, the interpreter turns the GIL back on for the whole process. This blocks any application that uses Oracle Database from using free-threading.

Are there any plans to support free-threading?

Thank you

Lingua principale
Python
Stelle
458
Fork
123
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di oracle/python-oracledb

Tutte le issue di oracle/python-oracledb

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.