Skip to content

vdk-audit: set python requires >= 3.8#1289

Merged
antoniivanov merged 1 commit intomainfrom
person/aivanov/vdk-audit
Nov 3, 2022
Merged

vdk-audit: set python requires >= 3.8#1289
antoniivanov merged 1 commit intomainfrom
person/aivanov/vdk-audit

Conversation

@antoniivanov
Copy link
Copy Markdown
Contributor

vdk-audit hook works only with 3.8 python or newer. We want to prevent the vdk-audit from being installed on older python version.

Setting the python_requires argument to the appropriate PEP 440 version specifier string will prevent pip from installing the project on other Python versions

Testing Done: pip install -e ./vdk-audit failed correctly with "ERROR: Package 'vdk-audit' requires a different Python: 3.7.9 not in '>=3.8'"

Signed-off-by: Antoni Ivanov aivanov@vmware.com

vdk-audit hook works only with 3.8 python or newer.
We want to prevent the vdk-audit from being installed on older python
version.

Setting the python_requires argument to the appropriate PEP 440 version
specifier string will prevent pip from installing the project on other
Python versions

Testing Done: `pip install -e ./vdk-audit` failed correctly with "ERROR:
Package 'vdk-audit' requires a different Python: 3.7.9 not in '>=3.8'"

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
@antoniivanov antoniivanov enabled auto-merge (squash) November 3, 2022 13:59
@antoniivanov antoniivanov merged commit 448a12c into main Nov 3, 2022
@antoniivanov antoniivanov deleted the person/aivanov/vdk-audit branch November 3, 2022 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants