From 8eed3706e3057621dafb8f97dd85510cc6a21f75 Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:40:38 -0600 Subject: [PATCH 1/3] ci: install in editable mode for faster performance --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c066aff..18d31db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,12 +91,12 @@ jobs: echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV - name: Install Python dependencies run: | - pip install .[ci] + pip install -e .[ci] python pywayland/ffi_build.py python -m pywayland.scanner --with-protocols - name: Run unit tests run: | - pip install .[test] + pip install -e .[test] pytest --cov pywayland --cov-report term-missing - name: Push coverage run: coveralls --service=github @@ -139,12 +139,12 @@ jobs: echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV - name: Install Python dependencies run: | - pip install .[ci] + pip install -e .[ci] python pywayland/ffi_build.py python -m pywayland.scanner --with-protocols - name: Build docs run: | - pip install .[docs] + pip install -e .[docs] sphinx-build -W -b html doc doc/_build/html pre-commit-test: name: pre-commit test @@ -171,7 +171,7 @@ jobs: echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV - name: Install Python dependencies run: | - pip install .[ci] + pip install -e .[ci] python pywayland/ffi_build.py python -m pywayland.scanner --with-protocols - name: Run pre-commit test @@ -201,12 +201,12 @@ jobs: echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV - name: Install Python dependencies run: | - pip install .[ci] + pip install -e .[ci] python pywayland/ffi_build.py python -m pywayland.scanner --with-protocols - name: Run packaging test run: | - pip install .[packaging] + pip install -e .[packaging] check-manifest python setup.py check -m -s python -m build --sdist From 6a533d789274c8ee9812107c88214737caf0a660 Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:41:35 -0600 Subject: [PATCH 2/3] fix(mypy): remove default args in pre-commit, i.e ignore-missing-imports --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 849122d..a4c1bb9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,4 +9,5 @@ repos: rev: v1.18.2 hooks: - id: mypy + args: [] files: "^(pywayland|example)\/.*" From fab53a6d992dff48edaf2fe69454313130baf6f9 Mon Sep 17 00:00:00 2001 From: RFCreate <107062289+RFCreate@users.noreply.github.com> Date: Mon, 8 Dec 2025 08:51:13 -0600 Subject: [PATCH 3/3] fix(coveralls): bump version Since coveralls==4.0.2, there is no longer a restriction of versions of python 3.13+, so it is safe to use higher versions when resolving. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7fe02d0..e75c3cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,8 +44,8 @@ ci = ["setuptools>=77.0.0"] test = [ "pytest", "pytest-cov", - "coverage>=6.5.0", - "coveralls>=3.3.1", + "coverage>=7.13.0", + "coveralls>=4.0.2", ] docs = [ "sphinx",