Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Add python3.8 build #23

Merged
merged 14 commits into from
Apr 21, 2020
26 changes: 25 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
env:
global:
- REPO_DIR=gensim
- BUILD_COMMIT=a2ec4c3417717f65c6d7eae5c1fcdc6db8a54159
- BUILD_COMMIT=5b5b54592a6aaf3c0f40f162351d11d3b64c9b98
- UNICODE_WIDTH=32
- GLOBAL_DEPENDS="six smart_open"
- TEST_COMMON="pytest pytest-rerunfailures mock cython testfixtures python-Levenshtein>=0.10.2 Morfessor==2.0.2a4"
Expand Down Expand Up @@ -58,6 +58,22 @@ jobs:
- PLAT=i686
- SKIP_NETWORK_TESTS=1

- os: linux
env:
- BUILD_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS}"
- TEST_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS} ${TEST_COMMON} scikit-learn"
- MB_PYTHON_VERSION=3.8
- PLAT=x86_64
- SKIP_NETWORK_TESTS=1

- os: linux
env:
- BUILD_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS}"
- TEST_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS} ${TEST_COMMON} scikit-learn"
- MB_PYTHON_VERSION=3.8
- PLAT=i686
- SKIP_NETWORK_TESTS=1

# MacOS
- os: osx
language: generic
Expand All @@ -82,6 +98,14 @@ jobs:
- MB_PYTHON_VERSION=3.7
- SKIP_NETWORK_TESTS=1

- os: osx
language: generic
env:
- BUILD_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS}"
- TEST_DEPENDS="numpy==1.17.3 scipy==1.3.2 ${GLOBAL_DEPENDS} ${TEST_COMMON} scikit-learn"
- MB_PYTHON_VERSION=3.8
- SKIP_NETWORK_TESTS=1


before_install:
- source multibuild/common_utils.sh
Expand Down
12 changes: 10 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
global:
BUILD_COMMIT: a2ec4c3417717f65c6d7eae5c1fcdc6db8a54159
BUILD_COMMIT: 5b5b54592a6aaf3c0f40f162351d11d3b64c9b98
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
Expand Down Expand Up @@ -35,6 +35,14 @@ environment:
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.0"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.0"
PYTHON_ARCH: "64"


matrix:
fast_finish: true
Expand All @@ -55,7 +63,7 @@ install:


# Install the build and runtime dependencies of the project.
- cmd: IF "%PYTHON_VERSION%"=="3.7.0" (%CMD_IN_ENV% pip install --timeout=60 numpy==1.14.5 scipy==1.1.0) ELSE (%CMD_IN_ENV% pip install --timeout=60 numpy==1.11.3 scipy==1.0.0)
- cmd: IF "%PYTHON_VERSION%"=="3.7.0" (%CMD_IN_ENV% pip install --timeout=60 numpy==1.14.5 scipy==1.1.0) ELSE (IF "%PYTHON_VERSION%"=="3.8.0" (%CMD_IN_ENV% pip install --timeout=60 numpy==1.17.3 scipy==1.3.2) ELSE (%CMD_IN_ENV% pip install --timeout=60 numpy==1.11.3 scipy==1.0.0))
- "%CMD_IN_ENV% pip install --timeout=60 smart_open pytest pytest-rerunfailures mock cython testfixtures scikit-learn Morfessor==2.0.2a4 python-Levenshtein>=0.10.2"
- "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst"
- ps: "ls dist"
Expand Down
2 changes: 1 addition & 1 deletion gensim
Submodule gensim updated 1 files
+7 −2 gensim/utils.py
2 changes: 1 addition & 1 deletion multibuild
Submodule multibuild updated 1 files
+2 −2 common_utils.sh