Skip to content

Commit 66321aa

Browse files
committed
tests: update tor-client to version 0.4.8.22.
Signed-off-by: Romain Bezut <morian@xdec.net>
1 parent 77eed75 commit 66321aa

File tree

4 files changed

+44
-44
lines changed

4 files changed

+44
-44
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and publish our python packages
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
77
workflow_dispatch:
88

99
permissions:
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Python
2222
uses: actions/setup-python@v6
2323
with:
24-
python-version: '3.10'
24+
python-version: "3.10"
2525

2626
- name: Install build dependencies
2727
run: make install-package
@@ -49,10 +49,10 @@ jobs:
4949

5050
environment:
5151
name: pypi
52-
url: 'https://pypi.org/p/aiostem'
52+
url: "https://pypi.org/p/aiostem"
5353

5454
permissions:
55-
id-token: write # For PyPI's trusted publishing.
55+
id-token: write # For PyPI's trusted publishing.
5656

5757
steps:
5858
- name: Download artifacts
@@ -75,8 +75,8 @@ jobs:
7575
runs-on: ubuntu-latest
7676

7777
permissions:
78-
contents: write # IMPORTANT: mandatory for making GitHub Releases
79-
id-token: write # IMPORTANT: mandatory for sigstore
78+
contents: write # IMPORTANT: mandatory for making GitHub Releases
79+
id-token: write # IMPORTANT: mandatory for sigstore
8080

8181
steps:
8282
- name: Download artifacts

.github/workflows/tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ name: Test
33
on:
44
pull_request:
55
paths:
6-
- '.github/workflows/tests.yml'
7-
- 'tests/requirements-*.txt'
8-
- 'pyproject.toml'
9-
- '**.py'
6+
- ".github/workflows/tests.yml"
7+
- "tests/requirements-*.txt"
8+
- "pyproject.toml"
9+
- "**.py"
1010
types:
11-
- 'opened'
12-
- 'synchronize'
11+
- "opened"
12+
- "synchronize"
1313
push:
1414
branches:
15-
- 'master'
15+
- "master"
1616
paths:
17-
- '.github/workflows/tests.yml'
18-
- 'tests/requirements-*.txt'
19-
- 'pyproject.toml'
20-
- '**.py'
17+
- ".github/workflows/tests.yml"
18+
- "tests/requirements-*.txt"
19+
- "pyproject.toml"
20+
- "**.py"
2121
workflow_dispatch:
2222

2323
permissions:
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
38+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3939

4040
steps:
4141
- name: Repository checkout
@@ -98,15 +98,15 @@ jobs:
9898
- name: Publish test results
9999
uses: EnricoMi/publish-unit-test-result-action@v2
100100
with:
101-
files: 'artifacts/**/pytest.xml'
101+
files: "artifacts/**/pytest.xml"
102102

103103
mypy:
104104
name: Check types using MyPy
105105
runs-on: ubuntu-latest
106106
strategy:
107107
fail-fast: false
108108
matrix:
109-
python-version: ['3.11', '3.12', '3.13', '3.14']
109+
python-version: ["3.11", "3.12", "3.13", "3.14"]
110110

111111
steps:
112112
- name: Repository checkout
@@ -135,7 +135,7 @@ jobs:
135135
strategy:
136136
fail-fast: false
137137
matrix:
138-
python-version: ['3.12', '3.13', '3.14']
138+
python-version: ["3.12", "3.13", "3.14"]
139139

140140
steps:
141141
- name: Repository checkout

.gitlab-ci.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ stages:
33
- tests
44
- publish
55

6-
76
# Global parameters for all jobs, cache everything we install.
87
variables:
98
PIP_CACHE_DIR: "${CI_PROJECT_DIR}/.pip_cache"
@@ -14,7 +13,6 @@ variables:
1413
- .pip_cache/
1514
policy: pull-push
1615

17-
1816
build-package:
1917
image: ${CI_REGISTRY}/dockers/ci/python-build:3.14-alpine
2018
stage: build
@@ -37,7 +35,7 @@ build-docs:
3735
# Ensure that sphinx has the correct identifier (see docs/conf.py).
3836
READTHEDOCS_GIT_IDENTIFIER: ${CI_COMMIT_REF_NAME}
3937
READTHEDOCS_GIT_COMMIT_HASH: ${CI_COMMIT_SHA}
40-
READTHEDOCS_VERSION_TYPE: 'tag'
38+
READTHEDOCS_VERSION_TYPE: "tag"
4139
READTHEDOCS_VERSION_NAME: ${CI_COMMIT_TAG}
4240
needs: []
4341
before_script:
@@ -92,23 +90,24 @@ typing:
9290
tests:
9391
parallel:
9492
matrix:
95-
- PYTHON_VERSION: ['3.10', '3.11', '3.12', '3.13', '3.14']
93+
- PYTHON_VERSION: ["3.10", "3.11", "3.12", "3.13", "3.14"]
9694
image: ${CI_REGISTRY}/dockers/ci/python-build:${PYTHON_VERSION}-alpine
9795
stage: tests
9896
needs: []
9997
variables:
100-
AIOSTEM_HOST: 'torcontrol'
101-
AIOSTEM_PASS: 'aiostem'
98+
AIOSTEM_HOST: "torcontrol"
99+
AIOSTEM_PASS: "aiostem"
102100
services:
103-
- name: "${CI_REGISTRY}/${CI_PROJECT_ROOT_NAMESPACE}/docker/tor-client:0.4.8.21"
101+
- name: "${CI_REGISTRY}/${CI_PROJECT_ROOT_NAMESPACE}/docker/tor-client:0.4.8.22"
104102
alias: torcontrol
105-
command: [
106-
'tor',
107-
'-f',
108-
'/etc/tor/torrc',
109-
'HashedControlPassword',
110-
'16:163184F7911BFBE760F8E71F6B13522B768BE174591BA285B3373FBC07'
111-
]
103+
command:
104+
[
105+
"tor",
106+
"-f",
107+
"/etc/tor/torrc",
108+
"HashedControlPassword",
109+
"16:163184F7911BFBE760F8E71F6B13522B768BE174591BA285B3373FBC07",
110+
]
112111
cache:
113112
<<: *pip_cache
114113
before_script:
@@ -118,7 +117,7 @@ tests:
118117
script:
119118
- pytest --cov=aiostem --junit-xml=pytest.xml
120119
- coverage xml
121-
coverage: '/TOTAL.+ ([0-9]{1,3}[.][0-9]{2}%)/'
120+
coverage: "/TOTAL.+ ([0-9]{1,3}[.][0-9]{2}%)/"
122121
artifacts:
123122
reports:
124123
coverage_report:

tests/compose.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
services:
33
tor-client:
4-
image: "docker.io/morian42/tor-client:0.4.8.21"
4+
image: "docker.io/morian42/tor-client:0.4.8.22"
55
ports:
66
- "9050:9050"
77
- "9051:9051"
8-
command: [
9-
'tor',
10-
'-f',
11-
'/etc/tor/torrc',
12-
'HashedControlPassword',
13-
'16:163184F7911BFBE760F8E71F6B13522B768BE174591BA285B3373FBC07'
14-
]
8+
command:
9+
[
10+
"tor",
11+
"-f",
12+
"/etc/tor/torrc",
13+
"HashedControlPassword",
14+
"16:163184F7911BFBE760F8E71F6B13522B768BE174591BA285B3373FBC07",
15+
]
1516
restart: unless-stopped

0 commit comments

Comments
 (0)