Skip to content

Commit

Permalink
Bump python version and updated build scripts (#986)
Browse files Browse the repository at this point in the history
* Bump python version and updated build scripts

Dropped support for Python 3.7 and 3.8.
3.7 is EOL and 3.9 implemented better typing hinting.
Updated github actions.
Updated readthedocs config.

* Added pillow dependency

This is specified in Minecraft Model Reader but it should be here as well
  • Loading branch information
gentlegiantJGC authored Sep 29, 2023
1 parent 30d11ae commit 9910a1c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- {os: windows-latest, python-version: '3.9', architecture: x64}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.cfg.python-version }} ${{ matrix.cfg.architecture }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-stylecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ['3.9']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ['3.9']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ platforms = any

[options]
include_package_data = True
python_requires = >=3.6
python_requires = >=3.9
install_requires =
Pillow>=10.0.1
wxPython
numpy~=1.17
pyopengl~=3.0
Expand Down

0 comments on commit 9910a1c

Please sign in to comment.