diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84b5c00e5..f27261c2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,15 @@ test-py37: - make requirements - make test +test-py38: + image: python:3.8 + tags: + - github + script: + - make install + - make requirements + - make test + style: image: python:3.6 tags: diff --git a/pyquil/magic.py b/pyquil/magic.py index 2b4c279e1..afce8773c 100644 --- a/pyquil/magic.py +++ b/pyquil/magic.py @@ -102,7 +102,13 @@ def _if_statement(test, if_function, else_function) -> None: else_function() -_EMPTY_ARGUMENTS = ast.arguments(args=[], vararg=None, kwonlyargs=[], kwarg=None, defaults=[], kw_defaults=[]) +_EMPTY_ARGUMENTS = ast.arguments(args=[], + posonlyargs=[], + vararg=None, + kwonlyargs=[], + kwarg=None, + defaults=[], + kw_defaults=[]) class _IfTransformer(ast.NodeTransformer): diff --git a/setup.py b/setup.py index 3b2a1355b..97a330429 100755 --- a/setup.py +++ b/setup.py @@ -64,7 +64,9 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Operating System :: OS Independent', ], install_requires=[