Skip to content

Commit 8b7c64a

Browse files
authored
Merge pull request #76 from adrianeboyd/chore/v1.0.6
Updates related to python 3.11, set version to v1.0.6
2 parents abcbdef + 1523fbe commit 8b7c64a

File tree

13 files changed

+4298
-951
lines changed

13 files changed

+4298
-951
lines changed

azure-pipelines.yml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,57 +9,57 @@ jobs:
99
- job: 'Test'
1010
strategy:
1111
matrix:
12-
Python27Linux:
13-
imageName: 'ubuntu-16.04'
14-
python.version: '2.7'
15-
Python27Mac:
16-
imageName: 'macos-10.14'
17-
python.version: '2.7'
18-
Python35Linux:
19-
imageName: 'ubuntu-16.04'
20-
python.version: '3.5'
21-
Python35Windows:
22-
imageName: 'vs2017-win2016'
23-
python.version: '3.5'
24-
Python35Mac:
25-
imageName: 'macos-10.14'
26-
python.version: '3.5'
2712
Python36Linux:
28-
imageName: 'ubuntu-16.04'
13+
imageName: 'ubuntu-latest'
2914
python.version: '3.6'
3015
Python36Windows:
31-
imageName: 'vs2017-win2016'
32-
python.version: '3.6'
33-
Python36Mac:
34-
imageName: 'macos-10.14'
16+
imageName: 'windows-2019'
3517
python.version: '3.6'
3618
Python37Linux:
37-
imageName: 'ubuntu-16.04'
19+
imageName: 'ubuntu-latest'
3820
python.version: '3.7'
3921
Python37Windows:
40-
imageName: 'vs2017-win2016'
22+
imageName: 'windows-latest'
4123
python.version: '3.7'
4224
Python37Mac:
43-
imageName: 'macos-10.14'
25+
imageName: 'macos-latest'
4426
python.version: '3.7'
4527
Python38Linux:
46-
imageName: 'ubuntu-16.04'
28+
imageName: 'ubuntu-latest'
4729
python.version: '3.8'
4830
Python38Windows:
49-
imageName: 'vs2017-win2016'
31+
imageName: 'windows-latest'
5032
python.version: '3.8'
5133
Python38Mac:
52-
imageName: 'macos-10.14'
34+
imageName: 'macos-latest'
5335
python.version: '3.8'
5436
Python39Linux:
55-
imageName: 'ubuntu-16.04'
37+
imageName: 'ubuntu-latest'
5638
python.version: '3.9'
5739
Python39Windows:
58-
imageName: 'vs2017-win2016'
40+
imageName: 'windows-latest'
5941
python.version: '3.9'
6042
Python39Mac:
61-
imageName: 'macos-10.14'
43+
imageName: 'macos-latest'
6244
python.version: '3.9'
45+
Python310Linux:
46+
imageName: 'ubuntu-latest'
47+
python.version: '3.10'
48+
Python310Windows:
49+
imageName: 'windows-latest'
50+
python.version: '3.10'
51+
Python310Mac:
52+
imageName: 'macos-latest'
53+
python.version: '3.10'
54+
Python311Linux:
55+
imageName: 'ubuntu-latest'
56+
python.version: '3.11.0-rc.2'
57+
Python311Windows:
58+
imageName: 'windows-latest'
59+
python.version: '3.11.0-rc.2'
60+
Python311Mac:
61+
imageName: 'macos-latest'
62+
python.version: '3.11.0-rc.2'
6363
maxParallel: 4
6464
pool:
6565
vmImage: $(imageName)
@@ -69,6 +69,7 @@ jobs:
6969
inputs:
7070
versionSpec: '$(python.version)'
7171
architecture: 'x64'
72+
allowUnstable: true
7273

7374
- script: |
7475
python -m pip install --upgrade pip setuptools

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
pathlib==1.0.1; python_version < "3.4"
22
# Development requirements
33
cython>=0.29.1,<0.30.0
4-
pytest>=4.0.0,<5.0.0
4+
pytest>=5.2.0,!=7.1.0
55
pytest-timeout>=1.3.3,<2.0.0
66
unittest2==1.1.0; python_version < "3.4"
77
pytz==2018.7
88
mock>=2.0.0,<3.0.0
99
numpy>=1.15.0
10+
psutil

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def setup_package():
150150
url=about["__uri__"],
151151
license=about["__license__"],
152152
ext_modules=cythonize(ext_modules, language_level=2),
153-
setup_requires=["cython>=0.29.1,<0.30.0"],
154-
install_requires=['pathlib==1.0.1; python_version < "3.4"'],
153+
setup_requires=["cython>=0.29.1,<3.0"],
154+
python_requires=">=3.6",
155155
classifiers=[
156156
"Development Status :: 5 - Production/Stable",
157157
"Environment :: Console",
@@ -162,15 +162,12 @@ def setup_package():
162162
"Operating System :: MacOS :: MacOS X",
163163
"Operating System :: Microsoft :: Windows",
164164
"Programming Language :: Cython",
165-
"Programming Language :: Python :: 2",
166-
"Programming Language :: Python :: 2.7",
167-
"Programming Language :: Python :: 3",
168-
"Programming Language :: Python :: 3.4",
169-
"Programming Language :: Python :: 3.5",
170165
"Programming Language :: Python :: 3.6",
171166
"Programming Language :: Python :: 3.7",
172167
"Programming Language :: Python :: 3.8",
173168
"Programming Language :: Python :: 3.9",
169+
"Programming Language :: Python :: 3.10",
170+
"Programming Language :: Python :: 3.11",
174171
"Topic :: Scientific/Engineering",
175172
],
176173
cmdclass={"build_ext": build_ext_subclass},

srsly/about.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = "srsly"
2-
__version__ = "1.0.5"
2+
__version__ = "1.0.6"
33
__summary__ = "Modern high-performance serialization utilities for Python"
44
__uri__ = "https://explosion.ai"
55
__author__ = "Explosion AI"

srsly/cloudpickle/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
from .cloudpickle import *
1+
from .cloudpickle import * # noqa
2+
from .cloudpickle_fast import CloudPickler, dumps, dump # noqa
23

3-
__version__ = "1.2.2"
4+
# Conform to the convention used by python serialization libraries, which
5+
# expose their Pickler subclass at top-level under the "Pickler" name.
6+
Pickler = CloudPickler
7+
8+
__version__ = '2.2.0'

0 commit comments

Comments
 (0)