Skip to content

Commit

Permalink
Merge branch 'main' into fix-append-text-box
Browse files Browse the repository at this point in the history
  • Loading branch information
MyreMylar committed Dec 7, 2022
2 parents d398517 + aede69d commit 00ffffe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.7', '3.8', '3.9']
pygame-version: ['2.0.1', '2.1.0', '2.1.2']
steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
- python --version
env: PYGAME_VERSION=2.0.0

- os: linux
python: 3.6
env: PYGAME_VERSION=2.0.1
- os: linux
python: 3.6
env: PYGAME_VERSION=2.1.0
- os: linux
python: 3.7
env: PYGAME_VERSION=2.0.1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ A GUI system for pygame 2.
- [Examples](https://github.com/MyreMylar/pygame_gui_examples)
- [PyPi](https://pypi.org/project/pygame-gui/)

[![pypi](https://badge.fury.io/py/pygame-gui.svg)](https://pypi.python.org/pypi/pygame-gui) [![Documentation Status](https://readthedocs.org/projects/pygame-gui/badge/?version=latest)](https://pygame-gui.readthedocs.io/en/latest/?badge=latest) [![Python 3.6+](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Master](https://travis-ci.com/MyreMylar/pygame_gui.svg?branch=master)](https://travis-ci.com/MyreMylar/pygame_gui) [![codecov](https://codecov.io/gh/MyreMylar/pygame_gui/branch/main/graph/badge.svg?token=zZhkvhgTki)](https://codecov.io/gh/MyreMylar/pygame_gui) [![Downloads](https://pepy.tech/badge/pygame-gui)](https://pepy.tech/project/pygame-gui)
[![pypi](https://badge.fury.io/py/pygame-gui.svg)](https://pypi.python.org/pypi/pygame-gui) [![Documentation Status](https://readthedocs.org/projects/pygame-gui/badge/?version=latest)](https://pygame-gui.readthedocs.io/en/latest/?badge=latest) [![Python 3.7+](https://img.shields.io/badge/python-3.7+-blue.svg)](https://www.python.org/downloads/release/python-360/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Master](https://travis-ci.com/MyreMylar/pygame_gui.svg?branch=master)](https://travis-ci.com/MyreMylar/pygame_gui) [![codecov](https://codecov.io/gh/MyreMylar/pygame_gui/branch/main/graph/badge.svg?token=zZhkvhgTki)](https://codecov.io/gh/MyreMylar/pygame_gui) [![Downloads](https://pepy.tech/badge/pygame-gui)](https://pepy.tech/project/pygame-gui)
## Requirements

- Python 3.6+
- Python 3.7+
- Pygame 2.0.1+
- python-i18n (does localization to different languages)

Expand Down
4 changes: 2 additions & 2 deletions pygame_gui/windows/ui_file_dialog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import warnings

from typing import Union, List, Optional
from typing import Union, List, Optional, Set
from pathlib import Path

import pygame
Expand Down Expand Up @@ -38,7 +38,7 @@ def __init__(self,
rect: pygame.Rect,
manager: Optional[IUIManagerInterface],
window_title: str = 'pygame-gui.file_dialog_title_bar',
allowed_suffixes: set[str] = {""},
allowed_suffixes: Set[str] = {""},
initial_file_path: Optional[str] = None,
object_id: Union[ObjectID, str] = ObjectID('#file_dialog', None),
allow_existing_files_only: bool = False,
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'pygame_gui.data',
'pygame_gui.data.translations'],
zip_safe=False,
python_requires='>=3.6',
python_requires='>=3.7',
setup_requires=[],
install_requires=['pygame>=2.0.1',
'python-i18n>=0.3.9',
Expand All @@ -38,7 +38,6 @@
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down

0 comments on commit 00ffffe

Please sign in to comment.