pull/153/head
Rui Carmo 2019-11-25 19:49:49 +00:00
rodzic 54b6df5b47
commit 250b1ef1e6
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -6,11 +6,11 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
max-parallel: 3
matrix:
# This is currently overkill since we are targeting 3.5, but affords us visibility
# onto syntax changes in newer Pythons
python-version: [3.5, 3.6, 3.7, 3.8]
# This is currently overkill since we are targeting 3.5+ with a support window back to 3.4,
# but affords us visibility onto syntax changes in newer Pythons
python-version: [3.4, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1

Wyświetl plik

@ -4,9 +4,9 @@
try:
from sys import version_info
assert version_info >= (3, 5)
assert version_info >= (3, 4)
except AssertionError:
exit("Piku requires Python 3.5 or above")
exit("Piku requires Python 3.4 or above")
from collections import defaultdict, deque
from fcntl import fcntl, F_SETFL, F_GETFL
@ -848,7 +848,7 @@ def spawn_worker(app, kind, command, env, ordinal=1):
('logto', '{log_file:s}.{ordinal:d}.log'.format(**locals())),
('log-backupname', '{log_file:s}.{ordinal:d}.log.old'.format(**locals())),
]
# only add virtualenv to uwsgi if it's a real virtualenv
if exists(join(env_path, "bin", "activate_this.py")):
settings.append(('virtualenv', env_path))