Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pymi-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 100
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
pip install . || exit /b
python -m unittest discover || exit /b
python setup.py bdist_wheel || exit /b
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pymi_wheel_py${{ matrix.python-version }}
path: 'dist'
4 changes: 2 additions & 2 deletions PyMI/PyMI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ static PyModuleDef mimodule = {

PyObject* _initmi(void)
{
if (!PyEval_ThreadsInitialized())
if (!Py_IsInitialized())
{
PyEval_InitThreads();
Py_Initialize();
}

PyDateTime_IMPORT;
Expand Down