Skip to content

Commit 817264e

Browse files
authored
Removed deprecated universal wheel configuration (#1239)
1 parent 877aaeb commit 817264e

13 files changed

Lines changed: 21 additions & 28 deletions

File tree

.github/workflows/test_tox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
toxenv: 'py311,wheel'
2525
- python-version: '3.12'
2626
toxenv: 'py312,wheel'
27+
- python-version: '3.13'
28+
toxenv: 'py313,wheel'
2729
container:
2830
image: ubuntu:22.04
2931
steps:

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ environment:
2828
PYTHON_VERSION: "3.12"
2929
L2TBINARIES_TRACK: "dev"
3030
TARGET: wheel
31-
- DESCRIPTION: "Run tests on Mac OS with Python 3.12"
32-
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
31+
- DESCRIPTION: "Run tests on Mac OS with Python 3.13"
32+
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
3333
HOMEBREW_NO_INSTALL_CLEANUP: 1
3434
TARGET: tests
3535

config/appveyor/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
set -e
44

55
brew update -q
6-
brew install -q gettext gnu-sed python@3.12 tox || true
6+
brew install -q gettext gnu-sed python@3.13 tox || true
77

config/appveyor/runtests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/gettext/lib ${LDFLAGS}";
99
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include ${CPPFLAGS}";
1010
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib ${LDFLAGS}";
1111

12-
# Set the following environment variables to ensure tox can find Python 3.12.
13-
export PATH="/usr/local/opt/python@3.12/bin:${PATH}";
12+
# Set the following environment variables to ensure tox can find Python 3.13.
13+
export PATH="/usr/local/opt/python@3.13/bin:${PATH}";
1414

15-
tox -e py312
15+
tox -e py313

config/docker/l2tbuilds_ubuntu.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN apt-get -y update && \
3434
libfuse-dev \
3535
liblzma-dev \
3636
libmagic-dev \
37+
libsqlite3-dev \
3738
libssl-dev \
3839
libtool \
3940
libyaml-dev \

data/templates/appveyor.yml/matrix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
PYTHON_VERSION: "3.12"
2828
L2TBINARIES_TRACK: "dev"
2929
TARGET: wheel
30-
- DESCRIPTION: "Run tests on Mac OS with Python 3.12"
31-
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
30+
- DESCRIPTION: "Run tests on Mac OS with Python 3.13"
31+
APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
3232
HOMEBREW_NO_INSTALL_CLEANUP: 1
3333
TARGET: tests

data/templates/appveyor_scripts/runtests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/gettext/lib $${LDFLAGS}";
99
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include $${CPPFLAGS}";
1010
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib $${LDFLAGS}";
1111

12-
# Set the following environment variables to ensure tox can find Python 3.12.
13-
export PATH="/usr/local/opt/python@3.12/bin:$${PATH}";
12+
# Set the following environment variables to ensure tox can find Python 3.13.
13+
export PATH="/usr/local/opt/python@3.13/bin:$${PATH}";
1414

15-
tox -e py312
15+
tox -e py313

data/templates/setup.cfg/bdist_wheel

Lines changed: 0 additions & 3 deletions
This file was deleted.

l2tdevtools/dependency_writers/appveyor_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def Write(self):
4343
"""Writes an install.sh file."""
4444
dependencies = self._dependency_helper.GetL2TBinaries()
4545

46-
brew_packages = ['gettext', 'gnu-sed', 'python@3.12', 'tox']
46+
brew_packages = ['gettext', 'gnu-sed', 'python@3.13', 'tox']
4747
if 'snappy' in dependencies:
4848
brew_packages.append('snappy')
4949

l2tdevtools/dependency_writers/setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ def Write(self):
202202
'options_entry_points', template_mappings)
203203
file_content.append(template_data)
204204

205-
template_data = self._GenerateFromTemplate('bdist_wheel', template_mappings)
206-
file_content.append(template_data)
207-
208205
file_content = ''.join(file_content)
209206

210207
with open(self.PATH, 'w', encoding='utf-8') as file_object:

0 commit comments

Comments
 (0)