Skip to content

Commit

Permalink
Finally switched to Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Oct 31, 2021
1 parent d4eded4 commit d6940f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install certifi
git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller
git checkout tags/v4.5.1
git checkout tags/v4.6
cd bootloader
python waf all
cd ..
Expand Down
3 changes: 1 addition & 2 deletions CB/GitHub.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,5 @@ def install(self, path):
self.archive.extractall(path)
for directory in self.directories:
shutil.rmtree(path / directory, ignore_errors=True)
# FIXME - Python bug #32689 - Fixed in 3.9
shutil.move(str(path / f'{self.shorthPath}-{self.branch}' / directory), str(path))
shutil.move(path / f'{self.shorthPath}-{self.branch}' / directory, path)
shutil.rmtree(path / f'{self.shorthPath}-{self.branch}')
2 changes: 1 addition & 1 deletion CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
if platform.system() == 'Windows':
from ctypes import windll, wintypes

# FIXME - Python bug #39010 - Fixed in 3.8.6/3.9
# FIXME - Python bug #39010
import asyncio
import selectors
asyncio.set_event_loop(asyncio.SelectorEventLoop(selectors.SelectSelector()))
Expand Down

0 comments on commit d6940f3

Please sign in to comment.