Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes required to set minimum Python version to 3.7 #1025

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/asv.conf.json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ will to default to the version of Python that the ``asv`` command
If provided, it should be a list of strings. It may be one of the
following:

- a Python version string, e.g. ``"2.7"``, in which case:
- a Python version string, e.g. ``"3.7"``, in which case:

- if ``conda`` is found, ``conda`` will be used to create an
environment for that version of Python via a temporary
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Installing airspeed velocity
============================

**airspeed velocity** is known to work on Linux, Mac OS-X, and Windows.
It is known to work with Python 2.7, 3.4, 3.5, and 3.6.
It is known to work with Python 3.7.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mind saying with Python 3.7 and higher. please?

It works also with PyPy.

**airspeed velocity** is a standard Python package, and the latest
Expand Down
4 changes: 2 additions & 2 deletions docs/source/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ installed to support other environment tools. The
tool used to create environments.

When using ``virtualenv``, ``asv`` does not build Python interpreters
for you, but it expects to find each of the Python versions specified
for you, but it expects to find the Python versions specified
in the ``asv.conf.json`` file available on the ``PATH``. For example,
if the ``asv.conf.json`` file has::

"pythons": ["2.7", "3.6"]
"pythons": ["3.7"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the example is clearer if you use 2 versions, maybe 3.7 and 3.10.


then it will use the executables named ``python2.7`` and
``python3.6`` on the path. There are many ways to get multiple
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def run_setup(build_binary=False):
str('console_scripts'): ['asv = asv.main:main']
},

python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
python_requires='>=3.7',

zip_safe=False,

Expand All @@ -280,7 +280,6 @@ def run_setup(build_binary=False):
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Testing',
]
Expand Down