Install dataclasses only for python version < 3.7

According [1] the dataclasses is already included in python 3.7 and
foward versions. Attempt to install it fails because the package
doesn't exist. This patch fix the test-requirements.txt to only
install it when python version is lower than 3.7.

1 - https://github.com/ericvsmith/dataclasses

Closes-Bug: #1960603
Change-Id: Iab540e69b698205cbb9c75061313aad9d9c2d3c4
This commit is contained in:
Arx Cruz 2022-02-11 10:22:54 +01:00 committed by Jose Luis Franco Arza
parent 4c9b71da0b
commit 0c2cf3e63c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ commonmark==0.9.1
cookiecutter==1.7.3
coverage==6.2
cryptography==36.0.1
dataclasses==0.8
dataclasses==0.8; python_version < '3.7'
distlib==0.3.4
distro==1.6.0
docker==5.0.3