Skip to content

Commit b76108e

Browse files
committed
Merge branch 'release-4.1.2'
2 parents 3d72896 + 85f7caf commit b76108e

File tree

6 files changed

+22
-13
lines changed

6 files changed

+22
-13
lines changed

.github/workflows/build-wheels.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ jobs:
7979
travis-os-name: osx
8080
manylinux-version: 1
8181
python-version: 3.8
82-
build-depends: numpy==1.21.0
82+
build-depends: numpy==1.17.3
8383

8484
- os: macos-latest
8585
travis-os-name: osx
8686
manylinux-version: 1
8787
python-version: 3.9
88-
build-depends: numpy==1.21.0
88+
build-depends: numpy==1.19.3
8989

9090
- os: windows-latest
9191
manylinux-version: 2010

.travis.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ env:
2020
- MB_ML_VER=2014
2121
- SKIP_NETWORK_TESTS=1
2222
- DOCKER_TEST_IMAGE=multibuild/xenial_arm64v8
23-
#
24-
# Build wheels with the oldest possible numpy version to avoid
25-
# the problem encountered by:
26-
#
27-
# https://github.com/RaRe-Technologies/gensim/issues/3085
28-
#
29-
- BUILD_DEPENDS="oldest-supported-numpy scipy==1.7.0"
3023
#
3124
# The contents of this file mirror the linux_testenv list
3225
# in gensim's setup.py. I can't think of a better way to include
@@ -36,23 +29,35 @@ env:
3629
- TEST_DEPENDS="pytest mock cython nmslib pyemd testfixtures Morfessor==2.0.2a4 python-levenshtein==0.12.0 visdom==0.1.8.9 scikit-learn"
3730

3831
matrix:
32+
#
33+
# See .github/workflows/build-wheels.yml for a discussion of why we
34+
# handle numpy versions explicitly.
35+
#
3936
- os: linux
4037
env:
4138
- MB_PYTHON_VERSION=3.6
4239
#
4340
# scipy 1.7.0 wheels not available for Py3.6, so we have to build using
4441
# an older version.
4542
#
46-
- BUILD_DEPENDS="oldest-supported-numpy scipy==1.5.3"
43+
- BUILD_DEPENDS="numpy==1.19.2 scipy==1.5.3"
4744
- os: linux
4845
env:
4946
- MB_PYTHON_VERSION=3.7
47+
- BUILD_DEPENDS="numpy==1.19.2 scipy==1.7.0"
5048
- os: linux
5149
env:
5250
- MB_PYTHON_VERSION=3.8
51+
- BUILD_DEPENDS="numpy==1.19.2 scipy==1.7.0"
5352
- os: linux
5453
env:
5554
- MB_PYTHON_VERSION=3.9
55+
#
56+
# oldest-supported-numpy does not seem to handle this particular case
57+
# (aarch64, Py3.9) explicitly, but I've double-checked that wheels for
58+
# this numpy release are available via PyPI.
59+
#
60+
- BUILD_DEPENDS="numpy==1.19.3 scipy==1.7.0"
5661

5762
before_install:
5863
- source multibuild/common_utils.sh

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Changes
33

44
## Unreleased
55

6+
## 4.1.2, 2021-09-17
7+
8+
This is a bugfix release that addresses left over compatibility issues with older versions of numpy and MacOS.
9+
610
## 4.1.1, 2021-09-14
711

812
This is a bugfix release that addresses compatibility issues with older versions of numpy.

docs/src/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# The short X.Y version.
6464
version = '4.1'
6565
# The full version, including alpha/beta/rc tags.
66-
release = '4.1.1'
66+
release = '4.1.2'
6767

6868
# The language for content autogenerated by Sphinx. Refer to documentation
6969
# for a list of supported languages.

gensim/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
"""
66

7-
__version__ = '4.1.1'
7+
__version__ = '4.1.2'
88

99
import logging
1010

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def run(self):
338338

339339
setup(
340340
name='gensim',
341-
version='4.1.1',
341+
version='4.1.2',
342342
description='Python framework for fast Vector Space Modelling',
343343
long_description=LONG_DESCRIPTION,
344344

0 commit comments

Comments
 (0)