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

Drop python 3.6 starts testing python 3.9 #1157

Merged
merged 3 commits into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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 .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
use-conda: [true, false]
use-dist: [false]
include:
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ System requirements
auto-sklearn has the following system requirements:

* Linux operating system (for example Ubuntu) (`get Linux here <https://www.wikihow.com/Install-Linux>`_)
* Python (>=3.6) (`get Python here <https://www.python.org/downloads/>`_),
* Python (>=3.7) (`get Python here <https://www.python.org/downloads/>`_),
* C++ compiler (with C++11 supports) (`get GCC here <https://www.tutorialspoint.com/How-to-Install-Cplusplus-Compiler-on-Linux>`_).

In case you try to install Auto-sklearn on a system where no wheel files for the pyrfr package
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
sys.platform
)

if sys.version_info < (3, 6):
if sys.version_info < (3, 7):
raise ValueError(
'Unsupported Python version %d.%d.%d found. Auto-sklearn requires Python '
'3.6 or higher.' % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro)
'3.7 or higher.' % (sys.version_info.major, sys.version_info.minor, sys.version_info.micro)
)

HERE = os.path.abspath(os.path.dirname(__file__))
Expand Down Expand Up @@ -77,10 +77,10 @@
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
python_requires='>=3.6',
python_requires='>=3.7',
url='https://automl.github.io/auto-sklearn',
)
1 change: 0 additions & 1 deletion test/test_evaluation/test_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ def test_exception_in_target_function(self, eval_holdout_mock):
self.assertIn('traceback', info[1].additional_info)
self.assertNotIn('exitcode', info[1].additional_info)

@unittest.skipIf(sys.version_info < (3, 7), reason="requires python3.7 or higher")
def test_silent_exception_in_target_function(self):
config = unittest.mock.Mock()
config.config_id = 198
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import unittest

import pytest
Expand All @@ -12,7 +11,6 @@


class KernelPCAComponentTest(PreprocessingTestCase):
@unittest.skipIf(sys.version_info < (3, 7), 'Random failures for Python < 3.7')
def test_default_configuration(self):
transformation, original = _test_preprocessing(KernelPCA,
dataset='digits',
Expand Down
2 changes: 0 additions & 2 deletions test/test_scripts/test_metadata_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import shutil
import socket
import subprocess
import sys
import unittest

import arff
Expand All @@ -24,7 +23,6 @@ def print_files(self):
for dirpath, dirnames, filenames in os.walk(self.working_directory):
print(dirpath, dirnames, filenames)

@unittest.skipIf(sys.version_info < (3, 7), reason="requires python3.7 or higher")
def test_metadata_generation(self):

regression_task_id = 360029
Expand Down