Experiment w/ dataclasses (including Py36) (#3423)

* [ci] Also run test_examples in py37

(will revert at the end of the experiment)

* InputExample: use immutable dataclass

* [deps] Install dataclasses for Py<3.7

* [skip ci] Revert "[ci] Also run test_examples in py37"

This reverts commit d29afd9959786b77759b0b8fa4e6b4335b952015.
This commit is contained in:
Julien Chaumond
2020-03-25 11:10:20 -04:00
committed by GitHub
parent ccbe839ee0
commit 83272a3853
2 changed files with 12 additions and 15 deletions

View File

@@ -97,6 +97,8 @@ setup(
install_requires=[
"numpy",
"tokenizers == 0.5.2",
# dataclasses for Python versions that don't have it
"dataclasses;python_version<'3.7'",
# accessing files from S3 directly
"boto3",
# filesystem locks e.g. to prevent parallel downloads