Skip to content

Commit

Permalink
#3592 with Python 3.10+, we don't need typing-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2023
1 parent 988880e commit 6bd78de
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
sudo apt-get -y install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev libxres-dev \
libxkbfile-dev python-all-dev pandoc libsystemd-dev \
libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3 \
python3-typing-extensions \
xauth x11-xkb-utils \
xvfb python3-cairo python3-gi-cairo \
libturbojpeg-dev libwebp-dev python3-pil \
Expand Down
1 change: 0 additions & 1 deletion packaging/debian/xpra/control
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
,python3-gi
,gir1.2-glib-2.0
,python3-typing-extensions
Recommends:
,${x11:Depends}
# generate QR codes for authentication and connection URLs:
Expand Down
1 change: 0 additions & 1 deletion packaging/rpm/xpra.spec
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ BuildRequires: pandoc
BuildRequires: which
Requires: python3
Requires: python3-gobject
Requires: python3-typing-extensions
Recommends: python3-pillow
Recommends: python3-cryptography
Recommends: python3-inotify
Expand Down
3 changes: 1 addition & 2 deletions xpra/client/gl/gl_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any
# later version. See the file COPYING for details.

from typing import Dict, Tuple
from typing_extensions import TypeAlias
from typing import Dict, Tuple, TypeAlias

#These chipsets will use OpenGL,
#there will not be any warnings, even if the vendor is greylisted:
Expand Down
3 changes: 1 addition & 2 deletions xpra/net/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

import os
import threading
from typing import Tuple, Callable, List, Dict, Any, ByteString, Union
from typing_extensions import TypeAlias
from typing import Tuple, Callable, List, Dict, Any, ByteString, Union, TypeAlias

from xpra.net.compression import Compressed, Compressible, LargeStructure
from xpra.util import repr_ellipsized, envint, envbool
Expand Down
3 changes: 1 addition & 2 deletions xpra/notifications/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

import os.path
from io import BytesIO
from typing import Tuple, Optional
from typing_extensions import TypeAlias
from typing import Tuple, Optional, TypeAlias

from xpra.util import first_time
from xpra.os_util import load_binary_file
Expand Down
3 changes: 1 addition & 2 deletions xpra/server/source/client_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
# later version. See the file COPYING for details.

import sys
from typing import Dict, Any, Optional, Tuple, Callable, Union, List
from typing_extensions import TypeAlias
from typing import Dict, Any, Optional, Tuple, Callable, Union, List, TypeAlias
from time import sleep, monotonic
from threading import Event
from collections import deque
Expand Down

0 comments on commit 6bd78de

Please sign in to comment.