Skip to content

Commit

Permalink
python>=3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloperezj committed Nov 21, 2023
1 parent 6d62286 commit 92f68f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Welcome to vt-py's documentation!
`vt-py <https://github.com/VirusTotal/vt-py>`_ is the official Python client library
for the `VirusTotal API v3 <https://developers.virustotal.com/v3.0/reference>`_.

This library requires Python 3.6.0+, Python 2.x is not supported. This is because vt-py
This library requires Python 3.7.0+, Python 2.x is not supported. This is because vt-py
makes use of the new `async/await <https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/>`_
syntax for implementing asynchronous coroutines.

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<h1>Welcome to vt-py’s documentation!<a class="headerlink" href="#welcome-to-vt-py-s-documentation" title="Permalink to this heading"></a></h1>
<p><a class="reference external" href="https://github.com/VirusTotal/vt-py">vt-py</a> is the official Python client library
for the <a class="reference external" href="https://developers.virustotal.com/v3.0/reference">VirusTotal API v3</a>.</p>
<p>This library requires Python 3.6.0+, Python 2.x is not supported. This is because vt-py
<p>This library requires Python 3.7.0+, Python 2.x is not supported. This is because vt-py
makes use of the new <a class="reference external" href="https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/">async/await</a>
syntax for implementing asynchronous coroutines.</p>
<p>Not supporting Python 2.x was a difficult decision to make, as we are aware
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Welcome to vt-py's documentation!
`vt-py <https://github.com/VirusTotal/vt-py>`_ is the official Python client library
for the `VirusTotal API v3 <https://developers.virustotal.com/v3.0/reference>`_.

This library requires Python 3.6.0+, Python 2.x is not supported. This is because vt-py
This library requires Python 3.7.0+, Python 2.x is not supported. This is because vt-py
makes use of the new `async/await <https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/>`_
syntax for implementing asynchronous coroutines.

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
with open("README.md") as fh:
long_description = fh.read()

if sys.version_info < (3, 6, 0):
raise RuntimeError("vt-py requires Python 3.6.0+")
if sys.version_info < (3, 7, 0):
raise RuntimeError("vt-py requires Python 3.7.0+")

setuptools.setup(
name="vt-py",
Expand All @@ -35,7 +35,7 @@
long_description_content_type="text/markdown",
url="https://github.com/VirusTotal/vt-py",
packages=["vt"],
python_requires=">=3.6.0",
python_requires=">=3.7.0",
install_requires=["aiohttp"],
setup_requires=["pytest-runner"],
extras_require={"test": ["pytest", "pytest_httpserver", "pytest_asyncio"]},
Expand Down

0 comments on commit 92f68f2

Please sign in to comment.