Skip to content

Commit

Permalink
Merge pull request #2 from ThanatosGit/main
Browse files Browse the repository at this point in the history
Update Python versions
  • Loading branch information
ThanatosGit authored Oct 12, 2024
2 parents ba71318 + 8d67e32 commit 05e4a6d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
lua-version:
- "bundle"

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: Install Python dependencies
run: python -m pip install -r requirements.txt
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
#- manylinux_2_24_ppc64le
#- manylinux_2_24_ppc64le
#- manylinux_2_24_s390x
pyversion: ["cp310-cp310", "cp311-cp311", "cp312-cp312"]
pyversion: ["cp310-cp310", "cp311-cp311", "cp312-cp312", "cp313-cp313"]

#include:
# - image: manylinux_2_28_aarch64
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12

- name: Install dependencies
run: python -m pip install -r requirements.txt
Expand Down Expand Up @@ -115,6 +115,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

runs-on: ${{ matrix.os }}
env:
Expand Down
2 changes: 1 addition & 1 deletion randovania_lupa/_lupa.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,7 @@ cdef struct ByteDescriptor:
size_t length
char* data

cdef int byte_writer(lua_State* L, void* new_data, size_t new_size, void* desc) noexcept nogil:
cdef int byte_writer(lua_State* L, const void* new_data, size_t new_size, void* desc) noexcept nogil:
cdef ByteDescriptor* bd = <ByteDescriptor*>desc
cdef char* data
data = bd.data
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Cython>=3.0.6
setuptools
setuptools==69.1.1
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ def write_file(filename, content):
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Lua',
'Programming Language :: Other Scripting Engines',
'Operating System :: OS Independent',
Expand Down

0 comments on commit 05e4a6d

Please sign in to comment.