update to python v3.8

This commit is contained in:
protolambda 2020-01-09 15:16:46 +01:00
parent 140129ec51
commit f810e6b9c2
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
2 changed files with 12 additions and 11 deletions

View File

@ -35,32 +35,32 @@ commands:
description: "Restore the cache with pyspec keys" description: "Restore the cache with pyspec keys"
steps: steps:
- restore_cached_venv: - restore_cached_venv:
venv_name: v5-pyspec venv_name: v6-pyspec
reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }} reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}
save_pyspec_cached_venv: save_pyspec_cached_venv:
description: Save a venv into a cache with pyspec keys" description: Save a venv into a cache with pyspec keys"
steps: steps:
- save_cached_venv: - save_cached_venv:
venv_name: v5-pyspec venv_name: v6-pyspec
reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }} reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}
venv_path: ./test_libs/pyspec/venv venv_path: ./test_libs/pyspec/venv
restore_deposit_contract_cached_venv: restore_deposit_contract_cached_venv:
description: "Restore the cache with deposit_contract keys" description: "Restore the cache with deposit_contract keys"
steps: steps:
- restore_cached_venv: - restore_cached_venv:
venv_name: v8-deposit-contract venv_name: v9-deposit-contract
reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }} reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }}
save_deposit_contract_cached_venv: save_deposit_contract_cached_venv:
description: Save a venv into a cache with deposit_contract keys" description: Save a venv into a cache with deposit_contract keys"
steps: steps:
- save_cached_venv: - save_cached_venv:
venv_name: v8-deposit-contract venv_name: v9-deposit-contract
reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }} reqs_checksum: cache-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }}
venv_path: ./deposit_contract/venv venv_path: ./deposit_contract/venv
jobs: jobs:
checkout_specs: checkout_specs:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
# Restore git repo at point close to target branch/revision, to speed up checkout # Restore git repo at point close to target branch/revision, to speed up checkout
@ -80,7 +80,7 @@ jobs:
- ~/specs-repo - ~/specs-repo
install_pyspec_test: install_pyspec_test:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- restore_cache: - restore_cache:
@ -92,7 +92,7 @@ jobs:
- save_pyspec_cached_venv - save_pyspec_cached_venv
test: test:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- restore_cache: - restore_cache:
@ -114,7 +114,7 @@ jobs:
command: sudo npm install -g doctoc && make check_toc command: sudo npm install -g doctoc && make check_toc
codespell: codespell:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- checkout - checkout
@ -123,7 +123,7 @@ jobs:
command: pip install codespell --user && make codespell command: pip install codespell --user && make codespell
lint: lint:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- restore_cache: - restore_cache:
@ -134,7 +134,7 @@ jobs:
command: make lint command: make lint
install_deposit_contract_test: install_deposit_contract_test:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- restore_cache: - restore_cache:
@ -146,7 +146,7 @@ jobs:
- save_deposit_contract_cached_venv - save_deposit_contract_cached_venv
deposit_contract: deposit_contract:
docker: docker:
- image: circleci/python:3.6 - image: circleci/python:3.8
working_directory: ~/specs-repo working_directory: ~/specs-repo
steps: steps:
- restore_cache: - restore_cache:

View File

@ -3,6 +3,7 @@ from setuptools import setup, find_packages
setup( setup(
name='pyspec', name='pyspec',
packages=find_packages(), packages=find_packages(),
python_requires=">=3.8, <4",
tests_require=["pytest"], tests_require=["pytest"],
install_requires=[ install_requires=[
"eth-utils>=1.3.0,<2", "eth-utils>=1.3.0,<2",