diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 850bc95..7567dd6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,18 +5,20 @@ jobs: unittest: runs-on: blacksmith-4vcpu-ubuntu-2204 strategy: + fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Install system packages run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev - name: Check out code from GitHub - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} id: python uses: actions/setup-python@main with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: pip install --upgrade pip setuptools wheel tox tox-gh-actions tox-docker - name: Run unittest diff --git a/billiard/compat.py b/billiard/compat.py index bea9746..b20677c 100644 --- a/billiard/compat.py +++ b/billiard/compat.py @@ -192,7 +192,7 @@ def spawnv_passfds(path, args, passfds): if sys.version_info >= (3, 9): args.extend((None, None, None, -1)) # group, extra_groups, user, umask args.append(None) # preexec_fn - if sys.version_info >= (3, 11): + if (3, 11) <= sys.version_info < (3, 14): args.append(subprocess._USE_VFORK) return _posixsubprocess.fork_exec(*args) finally: diff --git a/tox.ini b/tox.ini index 3d1212c..5e37f7d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] requires = tox-gh-actions -envlist = {3.8,3.9,3.10,3.11,3.12,3.13}-unit +envlist = {3.8,3.9,3.10,3.11,3.12,3.13,3.14}-unit skip_missing_interpreters = True [gh-actions] @@ -12,6 +12,7 @@ python = 3.11: 3.11-unit 3.12: 3.12-unit 3.13: 3.13-unit + 3.14: 3.14-unit [testenv] distribute = True