Browse Source

pipeline: test against python3.8

https://github.com/fphammerle/freesurfer-stats/blob/b475e9f103a22e19072bdfd305db40059311681d/.travis.yml#L8
Fabian Peter Hammerle 3 years ago
parent
commit
6849e86ed3
3 changed files with 35 additions and 0 deletions
  1. 25 0
      .travis.yml
  2. 9 0
      CHANGELOG.md
  3. 1 0
      setup.py

+ 25 - 0
.travis.yml

@@ -5,6 +5,8 @@ python:
 - 3.6
 - 3.7
 - 3.7-dev
+- 3.8
+- 3.8-dev
 
 # required for python >= 3.7
 dist: xenial
@@ -28,6 +30,29 @@ matrix:
     env: PANDAS_VERSION=0.21.*
   - python: 3.7-dev
     env: PANDAS_VERSION=0.22.*
+  # >/tmp/pip-install-g4jx0np4/numpy/_configtest.c:6: undefined reference to `exp'
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704331#L437
+  - python: 3.8
+    env: PANDAS_VERSION=0.21.*
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/683704330#L437
+  - python: 3.8
+    env: PANDAS_VERSION=0.22.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.21.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.22.*
+  # no python3.8 wheels for pandas v0.24.2 & v0.23.4 available
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/builds/701952350
+  # build takes longer than 10min
+  # https://travis-ci.org/github/fphammerle/freesurfer-stats/jobs/702077404#L199
+  - python: 3.8
+    env: PANDAS_VERSION=0.23.*
+  - python: 3.8
+    env: PANDAS_VERSION=0.24.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.23.*
+  - python: 3.8-dev
+    env: PANDAS_VERSION=0.24.*
 
 install:
 - pip install pipenv==2020.6.2

+ 9 - 0
CHANGELOG.md

@@ -0,0 +1,9 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+### Added
+- package metadata: added `python3.8` classifier

+ 1 - 0
setup.py

@@ -35,6 +35,7 @@ setuptools.setup(
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
         'Topic :: Scientific/Engineering :: Information Analysis',
         'Topic :: Scientific/Engineering :: Medical Science Apps.',
         'Topic :: Utilities',