Skip to content

Commit 88b76fa

Browse files
committed
add trytond now that the cutoff is gone
1 parent 7911b32 commit 88b76fa

File tree

4 files changed

+17
-109
lines changed

4 files changed

+17
-109
lines changed

.github/workflows/test-integrations-misc.yml

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -22,82 +22,6 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-misc-latest:
26-
name: Misc (latest)
27-
timeout-minutes: 30
28-
runs-on: ${{ matrix.os }}
29-
strategy:
30-
fail-fast: false
31-
matrix:
32-
python-version: ["3.8","3.12","3.13"]
33-
# python3.6 reached EOL and is no longer being supported on
34-
# new versions of hosted runners on Github Actions
35-
# ubuntu-20.04 is the last version that supported python3.6
36-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37-
os: [ubuntu-20.04]
38-
steps:
39-
- uses: actions/[email protected]
40-
- uses: actions/setup-python@v5
41-
with:
42-
python-version: ${{ matrix.python-version }}
43-
allow-prereleases: true
44-
- name: Setup Test Env
45-
run: |
46-
pip install "coverage[toml]" tox
47-
- name: Erase coverage
48-
run: |
49-
coverage erase
50-
- name: Test loguru latest
51-
run: |
52-
set -x # print commands that are executed
53-
./scripts/runtox.sh "py${{ matrix.python-version }}-loguru-latest"
54-
- name: Test opentelemetry latest
55-
run: |
56-
set -x # print commands that are executed
57-
./scripts/runtox.sh "py${{ matrix.python-version }}-opentelemetry-latest"
58-
- name: Test potel latest
59-
run: |
60-
set -x # print commands that are executed
61-
./scripts/runtox.sh "py${{ matrix.python-version }}-potel-latest"
62-
- name: Test pure_eval latest
63-
run: |
64-
set -x # print commands that are executed
65-
./scripts/runtox.sh "py${{ matrix.python-version }}-pure_eval-latest"
66-
- name: Test trytond latest
67-
run: |
68-
set -x # print commands that are executed
69-
./scripts/runtox.sh "py${{ matrix.python-version }}-trytond-latest"
70-
- name: Test typer latest
71-
run: |
72-
set -x # print commands that are executed
73-
./scripts/runtox.sh "py${{ matrix.python-version }}-typer-latest"
74-
- name: Generate coverage XML (Python 3.6)
75-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
76-
run: |
77-
export COVERAGE_RCFILE=.coveragerc36
78-
coverage combine .coverage-sentry-*
79-
coverage xml --ignore-errors
80-
- name: Generate coverage XML
81-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
82-
run: |
83-
coverage combine .coverage-sentry-*
84-
coverage xml
85-
- name: Upload coverage to Codecov
86-
if: ${{ !cancelled() }}
87-
uses: codecov/[email protected]
88-
with:
89-
token: ${{ secrets.CODECOV_TOKEN }}
90-
files: coverage.xml
91-
# make sure no plugins alter our coverage reports
92-
plugin: noop
93-
verbose: true
94-
- name: Upload test results to Codecov
95-
if: ${{ !cancelled() }}
96-
uses: codecov/test-results-action@v1
97-
with:
98-
token: ${{ secrets.CODECOV_TOKEN }}
99-
files: .junitxml
100-
verbose: true
10125
test-misc-pinned:
10226
name: Misc (pinned)
10327
timeout-minutes: 30

scripts/populate_tox/populate_tox.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
"starlite",
9696
"sqlalchemy",
9797
"tornado",
98-
"trytond",
9998
}
10099

101100

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,6 @@ envlist =
257257
{py3.8,py3.11,py3.12}-tornado-v{6.2}
258258
{py3.8,py3.11,py3.12}-tornado-latest
259259

260-
# Trytond
261-
{py3.6}-trytond-v{4}
262-
{py3.6,py3.8}-trytond-v{5}
263-
{py3.6,py3.11}-trytond-v{6}
264-
{py3.8,py3.11,py3.12}-trytond-v{7}
265-
{py3.8,py3.12,py3.13}-trytond-latest
266-
267260
# === Integrations - Auto-generated ===
268261
# These come from the populate_tox.py script. Eventually we should move all
269262
# integration tests there.
@@ -667,15 +660,6 @@ deps =
667660
tornado-v6.2: tornado~=6.2.0
668661
tornado-latest: tornado
669662
670-
# Trytond
671-
trytond: werkzeug
672-
trytond-v4: werkzeug<1.0
673-
trytond-v4: trytond~=4.0
674-
trytond-v5: trytond~=5.0
675-
trytond-v6: trytond~=6.0
676-
trytond-v7: trytond~=7.0
677-
trytond-latest: trytond
678-
679663
# === Integrations - Auto-generated ===
680664
# These come from the populate_tox.py script. Eventually we should move all
681665
# integration tests there.

tox.ini

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,6 @@ envlist =
257257
{py3.8,py3.11,py3.12}-tornado-v{6.2}
258258
{py3.8,py3.11,py3.12}-tornado-latest
259259

260-
# Trytond
261-
{py3.6}-trytond-v{4}
262-
{py3.6,py3.8}-trytond-v{5}
263-
{py3.6,py3.11}-trytond-v{6}
264-
{py3.8,py3.11,py3.12}-trytond-v{7}
265-
{py3.8,py3.12,py3.13}-trytond-latest
266-
267260
# === Integrations - Auto-generated ===
268261
# These come from the populate_tox.py script. Eventually we should move all
269262
# integration tests there.
@@ -306,6 +299,13 @@ envlist =
306299
{py3.6,py3.7,py3.8}-loguru-v0.5.3
307300
{py3.6,py3.12,py3.13}-loguru-v0.7.3
308301

302+
{py3.6}-trytond-v4.6.9
303+
{py3.6}-trytond-v4.8.18
304+
{py3.6,py3.7,py3.8}-trytond-v5.8.16
305+
{py3.8,py3.10,py3.11}-trytond-v6.8.17
306+
{py3.8,py3.11,py3.12}-trytond-v7.0.9
307+
{py3.8,py3.11,py3.12}-trytond-v7.4.5
308+
309309
{py3.7,py3.11,py3.12}-typer-v0.15.1
310310

311311

@@ -698,15 +698,6 @@ deps =
698698
tornado-v6.2: tornado~=6.2.0
699699
tornado-latest: tornado
700700

701-
# Trytond
702-
trytond: werkzeug
703-
trytond-v4: werkzeug<1.0
704-
trytond-v4: trytond~=4.0
705-
trytond-v5: trytond~=5.0
706-
trytond-v6: trytond~=6.0
707-
trytond-v7: trytond~=7.0
708-
trytond-latest: trytond
709-
710701
# === Integrations - Auto-generated ===
711702
# These come from the populate_tox.py script. Eventually we should move all
712703
# integration tests there.
@@ -759,6 +750,16 @@ deps =
759750
loguru-v0.5.3: loguru==0.5.3
760751
loguru-v0.7.3: loguru==0.7.3
761752

753+
trytond-v4.6.9: trytond==4.6.9
754+
trytond-v4.8.18: trytond==4.8.18
755+
trytond-v5.8.16: trytond==5.8.16
756+
trytond-v6.8.17: trytond==6.8.17
757+
trytond-v7.0.9: trytond==7.0.9
758+
trytond-v7.4.5: trytond==7.4.5
759+
trytond: werkzeug
760+
trytond-v4.6.9: werkzeug<1.0
761+
trytond-v4.8.18: werkzeug<1.0
762+
762763
typer-v0.15.1: typer==0.15.1
763764

764765

0 commit comments

Comments
 (0)