Skip to content

Commit 21e80a6

Browse files
authored
Extend transformers to <4.9.0 (#279)
* Extend transformers to <4.9.0 * Update to ubuntu-18.04 in CI
1 parent 7e4095d commit 21e80a6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
strategy:
1818
matrix:
1919
Python36Linux:
20-
imageName: 'ubuntu-16.04'
20+
imageName: 'ubuntu-18.04'
2121
python.version: '3.6'
2222
Python37Mac:
2323
imageName: 'macos-10.14'
2424
python.version: '3.7'
2525
Python38Linux:
26-
imageName: 'ubuntu-16.04'
26+
imageName: 'ubuntu-18.04'
2727
python.version: '3.8'
2828
Python38Mac:
2929
imageName: 'macos-10.14'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spacy>=3.0.0,<4.0.0
2-
transformers>=3.4.0,<4.7.0
2+
transformers>=3.4.0,<4.9.0
33
torch>=1.5.0
44
srsly>=2.4.0,<3.0.0
55
dataclasses>=0.6,<1.0; python_version < "3.7"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include_package_data = true
2828
python_requires = >=3.6
2929
install_requires =
3030
spacy>=3.0.0,<4.0.0
31-
transformers>=3.4.0,<4.7.0
31+
transformers>=3.4.0,<4.9.0
3232
torch>=1.5.0
3333
srsly>=2.4.0,<3.0.0
3434
dataclasses>=0.6,<1.0; python_version < "3.7"

0 commit comments

Comments
 (0)