Require and upgrade to Python 3.8

This commit is contained in:
Aurélien Geron
2021-10-17 14:27:34 +13:00
parent 37df539ab1
commit aa319d94f0
27 changed files with 65 additions and 65 deletions

View File

@@ -40,9 +40,9 @@
},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)"
"assert sys.version_info >= (3, 8)"
]
},
{
@@ -695,7 +695,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"metadata": {
"interpreter": {

View File

@@ -50,9 +50,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -2348,7 +2348,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "279px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -2616,7 +2616,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -1840,7 +1840,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -808,7 +808,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "309px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -1513,7 +1513,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "252px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Common imports\n",
"import numpy as np\n",
@@ -2382,7 +2382,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Common imports\n",
"import numpy as np\n",
@@ -3859,7 +3859,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Common imports\n",
"import numpy as np\n",
@@ -2007,7 +2007,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "264px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Common imports\n",
"import numpy as np\n",
@@ -2710,7 +2710,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "360px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Common imports\n",
"import numpy as np\n",
@@ -3975,7 +3975,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -2793,7 +2793,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "264px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -1456,7 +1456,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -2028,7 +2028,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -2779,7 +2779,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -1771,7 +1771,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "381px",

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -3224,7 +3224,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Is this notebook running on Colab or Kaggle?\n",
"IS_COLAB = \"google.colab\" in sys.modules\n",
@@ -1280,7 +1280,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -912,7 +912,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {
"height": "603px",

View File

@@ -271,7 +271,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
}
},
"nbformat": 4,

View File

@@ -48,9 +48,9 @@
"metadata": {},
"outputs": [],
"source": [
"# Python ≥3.7 is required\n",
"# Python ≥3.8 is required\n",
"import sys\n",
"assert sys.version_info >= (3, 7)\n",
"assert sys.version_info >= (3, 8)\n",
"\n",
"# Scikit-Learn ≥1.0 is required\n",
"import sklearn\n",
@@ -1958,7 +1958,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -130,7 +130,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"nav_menu": {},
"toc": {

View File

@@ -1783,7 +1783,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"pycharm": {
"stem_cell": {

View File

@@ -3077,7 +3077,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"toc": {
"toc_cell": false,

View File

@@ -1256,7 +1256,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"toc": {
"toc_cell": true,

View File

@@ -2852,7 +2852,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"toc": {
"toc_cell": false,

View File

@@ -2807,7 +2807,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.8.12"
},
"toc": {
"toc_cell": false,