kopia lustrzana https://github.com/piku/piku
Fixes #149
rodzic
54b6df5b47
commit
250b1ef1e6
|
@ -6,11 +6,11 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 3
|
||||||
matrix:
|
matrix:
|
||||||
# This is currently overkill since we are targeting 3.5, but affords us visibility
|
# This is currently overkill since we are targeting 3.5+ with a support window back to 3.4,
|
||||||
# onto syntax changes in newer Pythons
|
# but affords us visibility onto syntax changes in newer Pythons
|
||||||
python-version: [3.5, 3.6, 3.7, 3.8]
|
python-version: [3.4, 3.5, 3.6, 3.7, 3.8]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
4
piku.py
4
piku.py
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from sys import version_info
|
from sys import version_info
|
||||||
assert version_info >= (3, 5)
|
assert version_info >= (3, 4)
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
exit("Piku requires Python 3.5 or above")
|
exit("Piku requires Python 3.4 or above")
|
||||||
|
|
||||||
from collections import defaultdict, deque
|
from collections import defaultdict, deque
|
||||||
from fcntl import fcntl, F_SETFL, F_GETFL
|
from fcntl import fcntl, F_SETFL, F_GETFL
|
||||||
|
|
Ładowanie…
Reference in New Issue