Skip to content

Commit a77f181

Browse files
committed
Dockerfile: upgrade to fedora:39
1 parent df96cc0 commit a77f181

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: "3.9"
21-
- uses: fedora-python/tox-github-action@v38.0
21+
- uses: fedora-python/tox-github-action@v39.0
2222
with:
2323
tox_env: flake8
2424
dnf_install: krb5-devel
25-
- uses: fedora-python/tox-github-action@v38.0
25+
- uses: fedora-python/tox-github-action@v39.0
2626
with:
2727
tox_env: safety
2828
dnf_install: krb5-devel
29-
- uses: fedora-python/tox-github-action@v38.0
29+
- uses: fedora-python/tox-github-action@v39.0
3030
with:
3131
tox_env: bandit
3232
dnf_install: krb5-devel
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/setup-python@v4
4141
with:
4242
python-version: "3.9"
43-
- uses: fedora-python/tox-github-action@v38.0
43+
- uses: fedora-python/tox-github-action@v39.0
4444
with:
4545
tox_env: py39
4646
dnf_install: krb5-devel

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ COPY . .
2121
RUN docker/install-dependencies.sh $rcm_tools_repo_file
2222

2323
RUN sed -i '/^koji==/,/--hash=\S*$/d' requirements.txt
24+
RUN sed -i '/^koji==.*$/d' requirements-no-hashes.txt
2425
RUN python3 -m pip install --no-deps .
2526

2627
# Mount to a directory holding the MTS config file

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
long_description = f.read()
88

99

10-
with open('requirements.txt', 'r') as f:
10+
with open('requirements-no-hashes.txt', 'r') as f:
1111
install_requires = [
12-
line.rstrip() for line in f if not line.startswith('#')
12+
line.strip() for line in f if not line.lstrip().startswith('#')
1313
]
1414

1515

0 commit comments

Comments
 (0)