Skip to content

Commit

Permalink
chore(CI): move to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Jul 12, 2024
1 parent b3f79bf commit 179c8f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
cache: 'pip' # uses requirements.txt

- name: Install Python dependencies
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
cache: 'pip' # uses requirements.txt

- name: Install Python dependencies
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
cache: 'pip' # uses requirements.txt

- name: Install Python dependencies
Expand Down
5 changes: 3 additions & 2 deletions DEPRECATED_discopop_wizard/screens/widgets/ScrollableText.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
# directory for details.

import tkinter as tk
from tkinter import ttk
from tkinter import Tk, ttk
from typing import Union


class ScrollableTextWidget(object):
frame: tk.Frame
text_container: tk.Text

def __init__(self, parent_frame):
def __init__(self, parent_frame: Union[tk.Frame, Tk]):
self.frame = ttk.Frame(parent_frame) # type: ignore
self.frame.pack(fill=tk.BOTH, expand=True)
self.frame.rowconfigure(0, weight=1)
Expand Down
4 changes: 2 additions & 2 deletions test/utils/subprocess_wrapper/command_execution_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ def run_cmd(cmd: str, cwd: str, env):
executable="/bin/bash",
shell=True,
env=env,
# stdout=subprocess.DEVNULL,
# stderr=subprocess.DEVNULL,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)

0 comments on commit 179c8f8

Please sign in to comment.