Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

fix: run tests also with python 3.8 #354

Merged
merged 8 commits into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 7 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
language: python
python:
- "3.7"
- "3.8"

env:
global:
Expand All @@ -45,29 +46,14 @@ install:
- pip install -r requirements.txt
- pip install codecov

script:
- make lint
- make test
- codecov


jobs:
include:
- stage: Tests
name: Test AENS, Channels
if: type != "cron"
script:
- make lint
- make test TEST_OPTS="-k 'test_name or test_channel'"
- codecov
- stage: Tests
name: Test Compiler, Contracts, Sophia Transformation, Hashing, CLI, HDWallet, Oracle, Node, OpenAPI, Signing, Transactions, Utils
if: type != "cron"
script:
- make lint
- make test TEST_OPTS="-k 'test_sophia or test_contract_native or test_type_conversion_to_sophia or test_oracle or test_cli or test_transaction or test_utils or test_hashing or test_hdwallet or test_node or test_generatedcli or test_signing'"
- codecov
- stage: Tests
name: Test API, Tutorials, Examples
if: type != "cron"
script:
- make lint
- make test TEST_OPTS="-k 'test_api or test_tutorial or test_example'"
- codecov
- stage: Test with latest node and compiler
if: type = "cron"
env:
Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,18 @@ clean:

publish:
@echo publish on pypi.org
twine upload dist/*
poetry publish --build
@echo done

publish-test:
@echo publish on test.pypi.org
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --build --repository testpypi
@echo done

deps:
@echo generating requirements.txt
dephell deps convert
poetry export --dev -f requirements.txt > requirements.txt
@echo done

changelog:
Expand Down
5 changes: 3 additions & 2 deletions docs/intro/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ check the :doc:`installation guide </topics/install>`.
Install Python
==============

The Aeternity Python SDK requires Python v3.7

Get the latest version of Python at https://www.python.org/downloads/ or with
your operating system's package manager.

Expand All @@ -24,6 +22,9 @@ you should see something like::
Type "help", "copyright", "credits" or "license" for more information.
>>>

.. hint::
The mimimum required python version is 3.7


Install the SDK
====================
Expand Down
6 changes: 3 additions & 3 deletions docs/topics/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
How to install the Aeternity SDK
================================

This document will explain differnet way to install the Aeternity Python SDK
This document will explain different way to install the Aeternity Python SDK


Install Python
Expand All @@ -15,7 +15,7 @@ Install the SDK
===============

Installation instructions are slightly different depending on whether you're
installing official relase or fetching the latest development version.
installing official release or fetching the latest development version.

.. _installing-official-release:

Expand All @@ -31,7 +31,7 @@ This is the recommended way to install the Aeternity SDK

#. Take a look at virtualenv_ and virtualenvwrapper_. These tools provide
isolated Python environments, which are more practical than installing
packages systemwide. They also allow installing packages without
packages system-wide. They also allow installing packages without
administrator privileges. The :doc:`contributing tutorial
</intro/contributing>` walks through how to create a virtualenv.

Expand Down
Loading