diff --git a/docs/howto/advanced_filtering.ipynb b/docs/howto/advanced_filtering.ipynb index 303dbd56..a17b6c67 100644 --- a/docs/howto/advanced_filtering.ipynb +++ b/docs/howto/advanced_filtering.ipynb @@ -352,7 +352,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.2" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/howto/filtering_deep_dive.ipynb b/docs/howto/filtering_deep_dive.ipynb index 7c888aa4..94dd038a 100644 --- a/docs/howto/filtering_deep_dive.ipynb +++ b/docs/howto/filtering_deep_dive.ipynb @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 1, "id": "checked-standing", "metadata": {}, "outputs": [], @@ -47,7 +47,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 2, "id": "certified-clothing", "metadata": {}, "outputs": [ @@ -427,7 +427,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 3, "id": "dirty-spain", "metadata": {}, "outputs": [ @@ -539,7 +539,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 4, "id": "varied-guarantee", "metadata": {}, "outputs": [ @@ -569,7 +569,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 5, "id": "fuzzy-conclusion", "metadata": {}, "outputs": [ @@ -604,7 +604,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 6, "id": "affected-principle", "metadata": { "scrolled": true @@ -647,7 +647,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 7, "id": "numeric-musician", "metadata": {}, "outputs": [ @@ -689,7 +689,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 8, "id": "spare-sandwich", "metadata": {}, "outputs": [ @@ -727,7 +727,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 9, "id": "informal-greece", "metadata": {}, "outputs": [ @@ -788,7 +788,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 10, "id": "racial-patio", "metadata": {}, "outputs": [ @@ -828,7 +828,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 11, "id": "technical-currency", "metadata": {}, "outputs": [ @@ -946,7 +946,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 12, "id": "surprising-aircraft", "metadata": {}, "outputs": [ @@ -981,7 +981,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 13, "id": "czech-country", "metadata": {}, "outputs": [ @@ -1026,7 +1026,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 14, "id": "pursuant-sculpture", "metadata": {}, "outputs": [ @@ -1148,7 +1148,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 15, "id": "confirmed-february", "metadata": {}, "outputs": [ @@ -1275,7 +1275,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 16, "id": "compact-intent", "metadata": {}, "outputs": [ @@ -1400,7 +1400,7 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 17, "id": "headed-commission", "metadata": {}, "outputs": [ @@ -1538,7 +1538,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 18, "id": "authentic-opposition", "metadata": {}, "outputs": [ @@ -1723,7 +1723,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 19, "id": "thrown-greene", "metadata": {}, "outputs": [ @@ -1974,7 +1974,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 20, "id": "forward-salon", "metadata": {}, "outputs": [ @@ -2187,7 +2187,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.5" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/howto/handling_connections.ipynb b/docs/howto/handling_connections.ipynb index b108e54d..feb00468 100644 --- a/docs/howto/handling_connections.ipynb +++ b/docs/howto/handling_connections.ipynb @@ -190,7 +190,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/failed_tasks.ipynb b/docs/tutorial/failed_tasks.ipynb index ae842df8..84bbbdc3 100644 --- a/docs/tutorial/failed_tasks.ipynb +++ b/docs/tutorial/failed_tasks.ipynb @@ -221,7 +221,7 @@ "\u001b[0m\n", "\u001b[0m\u001b[1m\u001b[31m---- Greeting is the polite thing to do ** changed : False --------------------- ERROR\u001b[0m\n", "\u001b[0mTraceback (most recent call last):\n", - " File \"/opt/conda/lib/python3.8/site-packages/nornir/core/task.py\", line 99, in start\n", + " File \"/nornir/core/task.py\", line 99, in start\n", " r = self.task(self, **self.params)\n", " File \"\", line 20, in say\n", " raise Exception(\"I can't say anything right now\")\n", @@ -495,7 +495,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/initializing_nornir.ipynb b/docs/tutorial/initializing_nornir.ipynb index 531e9346..f3013499 100644 --- a/docs/tutorial/initializing_nornir.ipynb +++ b/docs/tutorial/initializing_nornir.ipynb @@ -34,8 +34,12 @@ "data": { "text/html": [ "\n", - "
 1 ---\n",
-       " 2 inventory:\n",
-       " 3     plugin: SimpleInventory\n",
-       " 4     options:\n",
-       " 5         host_file: "inventory/hosts.yaml"\n",
-       " 6         group_file: "inventory/groups.yaml"\n",
-       " 7         defaults_file: "inventory/defaults.yaml"\n",
-       " 8 runner:\n",
-       " 9     plugin: threaded\n",
-       "10     options:\n",
-       "11         num_workers: 100\n",
+       "
 1---\n",
+       " 2inventory:\n",
+       " 3    plugin: SimpleInventory\n",
+       " 4    options:\n",
+       " 5        host_file: "inventory/hosts.yaml"\n",
+       " 6        group_file: "inventory/groups.yaml"\n",
+       " 7        defaults_file: "inventory/defaults.yaml"\n",
+       " 8runner:\n",
+       " 9    plugin: threaded\n",
+       "10    options:\n",
+       "11        num_workers: 100\n",
        "
\n", "\n" ], @@ -244,7 +248,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.2" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/inventory.ipynb b/docs/tutorial/inventory.ipynb index 6ecdf9c2..c539f0dd 100644 --- a/docs/tutorial/inventory.ipynb +++ b/docs/tutorial/inventory.ipynb @@ -32,8 +32,12 @@ "data": { "text/html": [ "\n", - "
  1 ---\n",
-       "  2 host1.cmh:\n",
-       "  3     hostname: 127.0.0.1\n",
-       "  4     port: 2201\n",
-       "  5     username: vagrant\n",
-       "  6     password: vagrant\n",
-       "  7     platform: linux\n",
-       "  8     groups:\n",
-       "  9         - cmh\n",
-       " 10     data:\n",
-       " 11         site: cmh\n",
-       " 12         role: host\n",
-       " 13         type: host\n",
-       " 14         nested_data:\n",
-       " 15             a_dict:\n",
-       " 16                 a: 1\n",
-       " 17                 b: 2\n",
-       " 18             a_list: [1, 2]\n",
-       " 19             a_string: "asdasd"\n",
-       " 20 \n",
-       " 21 host2.cmh:\n",
-       " 22     hostname: 127.0.0.1\n",
-       " 23     port: 2202\n",
-       " 24     username: vagrant\n",
-       " 25     password: vagrant\n",
-       " 26     platform: linux\n",
-       " 27     groups:\n",
-       " 28         - cmh\n",
-       " 29     data:\n",
-       " 30         site: cmh\n",
-       " 31         role: host\n",
-       " 32         type: host\n",
-       " 33         nested_data:\n",
-       " 34             a_dict:\n",
-       " 35                 b: 2\n",
-       " 36                 c: 3\n",
-       " 37             a_list: [1, 2]\n",
-       " 38             a_string: "qwe"\n",
-       " 39 \n",
-       " 40 spine00.cmh:\n",
-       " 41     hostname: 127.0.0.1\n",
-       " 42     username: vagrant\n",
-       " 43     password: vagrant\n",
-       " 44     port: 12444\n",
-       " 45     platform: eos\n",
-       " 46     groups:\n",
-       " 47         - cmh\n",
-       " 48     data:\n",
-       " 49         site: cmh\n",
-       " 50         role: spine\n",
-       " 51         type: network_device\n",
-       " 52 \n",
-       " 53 spine01.cmh:\n",
-       " 54     hostname: 127.0.0.1\n",
-       " 55     username: vagrant\n",
-       " 56     password: ""\n",
-       " 57     platform: junos\n",
-       " 58     port: 12204\n",
-       " 59     groups:\n",
-       " 60         - cmh\n",
-       " 61     data:\n",
-       " 62         site: cmh\n",
-       " 63         role: spine\n",
-       " 64         type: network_device\n",
-       " 65 \n",
-       " 66 leaf00.cmh:\n",
-       " 67     hostname: 127.0.0.1\n",
-       " 68     username: vagrant\n",
-       " 69     password: vagrant\n",
-       " 70     port: 12443\n",
-       " 71     platform: eos\n",
-       " 72     groups:\n",
-       " 73         - cmh\n",
-       " 74     data:\n",
-       " 75         site: cmh\n",
-       " 76         role: leaf\n",
-       " 77         type: network_device\n",
-       " 78         asn: 65100\n",
-       " 79 \n",
-       " 80 leaf01.cmh:\n",
-       " 81     hostname: 127.0.0.1\n",
-       " 82     username: vagrant\n",
-       " 83     password: ""\n",
-       " 84     port: 12203\n",
-       " 85     platform: junos\n",
-       " 86     groups:\n",
-       " 87         - cmh\n",
-       " 88     data:\n",
-       " 89         site: cmh\n",
-       " 90         role: leaf\n",
-       " 91         type: network_device\n",
-       " 92         asn: 65101\n",
-       " 93 \n",
-       " 94 host1.bma:\n",
-       " 95     groups:\n",
-       " 96         - bma\n",
-       " 97     platform: linux\n",
-       " 98     data:\n",
-       " 99         site: bma\n",
-       "100         role: host\n",
-       "101         type: host\n",
-       "102 \n",
-       "103 host2.bma:\n",
-       "104     groups:\n",
-       "105         - bma\n",
-       "106     platform: linux\n",
-       "107     data:\n",
-       "108         site: bma\n",
-       "109         role: host\n",
-       "110         type: host\n",
-       "111 \n",
-       "112 spine00.bma:\n",
-       "113     hostname: 127.0.0.1\n",
-       "114     username: vagrant\n",
-       "115     password: vagrant\n",
-       "116     port: 12444\n",
-       "117     platform: eos\n",
-       "118     groups:\n",
-       "119         - bma\n",
-       "120     data:\n",
-       "121         site: bma\n",
-       "122         role: spine\n",
-       "123         type: network_device\n",
-       "124 \n",
-       "125 spine01.bma:\n",
-       "126     hostname: 127.0.0.1\n",
-       "127     username: vagrant\n",
-       "128     password: ""\n",
-       "129     port: 12204\n",
-       "130     platform: junos\n",
-       "131     groups:\n",
-       "132         - bma\n",
-       "133     data:\n",
-       "134         site: bma\n",
-       "135         role: spine\n",
-       "136         type: network_device\n",
-       "137 \n",
-       "138 leaf00.bma:\n",
-       "139     hostname: 127.0.0.1\n",
-       "140     username: vagrant\n",
-       "141     password: vagrant\n",
-       "142     port: 12443\n",
-       "143     platform: eos\n",
-       "144     groups:\n",
-       "145         - bma\n",
-       "146     data:\n",
-       "147         site: bma\n",
-       "148         role: leaf\n",
-       "149         type: network_device\n",
-       "150 \n",
-       "151 leaf01.bma:\n",
-       "152     hostname: 127.0.0.1\n",
-       "153     username: vagrant\n",
-       "154     password: wrong_password\n",
-       "155     port: 12203\n",
-       "156     platform: junos\n",
-       "157     groups:\n",
-       "158         - bma\n",
-       "159     data:\n",
-       "160         site: bma\n",
-       "161         role: leaf\n",
-       "162         type: network_device\n",
+       "
  1---\n",
+       "  2host1.cmh:\n",
+       "  3    hostname: 127.0.0.1\n",
+       "  4    port: 2201\n",
+       "  5    username: vagrant\n",
+       "  6    password: vagrant\n",
+       "  7    platform: linux\n",
+       "  8    groups:\n",
+       "  9        - cmh\n",
+       " 10    data:\n",
+       " 11        site: cmh\n",
+       " 12        role: host\n",
+       " 13        type: host\n",
+       " 14        nested_data:\n",
+       " 15            a_dict:\n",
+       " 16                a: 1\n",
+       " 17                b: 2\n",
+       " 18            a_list: [1, 2]\n",
+       " 19            a_string: "asdasd"\n",
+       " 20\n",
+       " 21host2.cmh:\n",
+       " 22    hostname: 127.0.0.1\n",
+       " 23    port: 2202\n",
+       " 24    username: vagrant\n",
+       " 25    password: vagrant\n",
+       " 26    platform: linux\n",
+       " 27    groups:\n",
+       " 28        - cmh\n",
+       " 29    data:\n",
+       " 30        site: cmh\n",
+       " 31        role: host\n",
+       " 32        type: host\n",
+       " 33        nested_data:\n",
+       " 34            a_dict:\n",
+       " 35                b: 2\n",
+       " 36                c: 3\n",
+       " 37            a_list: [1, 2]\n",
+       " 38            a_string: "qwe"\n",
+       " 39\n",
+       " 40spine00.cmh:\n",
+       " 41    hostname: 127.0.0.1\n",
+       " 42    username: vagrant\n",
+       " 43    password: vagrant\n",
+       " 44    port: 12444\n",
+       " 45    platform: eos\n",
+       " 46    groups:\n",
+       " 47        - cmh\n",
+       " 48    data:\n",
+       " 49        site: cmh\n",
+       " 50        role: spine\n",
+       " 51        type: network_device\n",
+       " 52\n",
+       " 53spine01.cmh:\n",
+       " 54    hostname: 127.0.0.1\n",
+       " 55    username: vagrant\n",
+       " 56    password: ""\n",
+       " 57    platform: junos\n",
+       " 58    port: 12204\n",
+       " 59    groups:\n",
+       " 60        - cmh\n",
+       " 61    data:\n",
+       " 62        site: cmh\n",
+       " 63        role: spine\n",
+       " 64        type: network_device\n",
+       " 65\n",
+       " 66leaf00.cmh:\n",
+       " 67    hostname: 127.0.0.1\n",
+       " 68    username: vagrant\n",
+       " 69    password: vagrant\n",
+       " 70    port: 12443\n",
+       " 71    platform: eos\n",
+       " 72    groups:\n",
+       " 73        - cmh\n",
+       " 74    data:\n",
+       " 75        site: cmh\n",
+       " 76        role: leaf\n",
+       " 77        type: network_device\n",
+       " 78        asn: 65100\n",
+       " 79\n",
+       " 80leaf01.cmh:\n",
+       " 81    hostname: 127.0.0.1\n",
+       " 82    username: vagrant\n",
+       " 83    password: ""\n",
+       " 84    port: 12203\n",
+       " 85    platform: junos\n",
+       " 86    groups:\n",
+       " 87        - cmh\n",
+       " 88    data:\n",
+       " 89        site: cmh\n",
+       " 90        role: leaf\n",
+       " 91        type: network_device\n",
+       " 92        asn: 65101\n",
+       " 93\n",
+       " 94host1.bma:\n",
+       " 95    groups:\n",
+       " 96        - bma\n",
+       " 97    platform: linux\n",
+       " 98    data:\n",
+       " 99        site: bma\n",
+       "100        role: host\n",
+       "101        type: host\n",
+       "102\n",
+       "103host2.bma:\n",
+       "104    groups:\n",
+       "105        - bma\n",
+       "106    platform: linux\n",
+       "107    data:\n",
+       "108        site: bma\n",
+       "109        role: host\n",
+       "110        type: host\n",
+       "111\n",
+       "112spine00.bma:\n",
+       "113    hostname: 127.0.0.1\n",
+       "114    username: vagrant\n",
+       "115    password: vagrant\n",
+       "116    port: 12444\n",
+       "117    platform: eos\n",
+       "118    groups:\n",
+       "119        - bma\n",
+       "120    data:\n",
+       "121        site: bma\n",
+       "122        role: spine\n",
+       "123        type: network_device\n",
+       "124\n",
+       "125spine01.bma:\n",
+       "126    hostname: 127.0.0.1\n",
+       "127    username: vagrant\n",
+       "128    password: ""\n",
+       "129    port: 12204\n",
+       "130    platform: junos\n",
+       "131    groups:\n",
+       "132        - bma\n",
+       "133    data:\n",
+       "134        site: bma\n",
+       "135        role: spine\n",
+       "136        type: network_device\n",
+       "137\n",
+       "138leaf00.bma:\n",
+       "139    hostname: 127.0.0.1\n",
+       "140    username: vagrant\n",
+       "141    password: vagrant\n",
+       "142    port: 12443\n",
+       "143    platform: eos\n",
+       "144    groups:\n",
+       "145        - bma\n",
+       "146    data:\n",
+       "147        site: bma\n",
+       "148        role: leaf\n",
+       "149        type: network_device\n",
+       "150\n",
+       "151leaf01.bma:\n",
+       "152    hostname: 127.0.0.1\n",
+       "153    username: vagrant\n",
+       "154    password: wrong_password\n",
+       "155    port: 12203\n",
+       "156    platform: junos\n",
+       "157    groups:\n",
+       "158        - bma\n",
+       "159    data:\n",
+       "160        site: bma\n",
+       "161        role: leaf\n",
+       "162        type: network_device\n",
        "
\n", "\n" ], @@ -351,8 +355,12 @@ "data": { "text/html": [ "\n", - "
 1 ---\n",
-       " 2 global:\n",
-       " 3     data:\n",
-       " 4         domain: global.local\n",
-       " 5         asn: 1\n",
-       " 6 \n",
-       " 7 eu:\n",
-       " 8     data:\n",
-       " 9         asn: 65100\n",
-       "10 \n",
-       "11 bma:\n",
-       "12     groups:\n",
-       "13         - eu\n",
-       "14         - global\n",
-       "15 \n",
-       "16 cmh:\n",
-       "17     data:\n",
-       "18         asn: 65000\n",
-       "19         vlans:\n",
-       "20           100: frontend\n",
-       "21           200: backend\n",
+       "
 1---\n",
+       " 2global:\n",
+       " 3    data:\n",
+       " 4        domain: global.local\n",
+       " 5        asn: 1\n",
+       " 6\n",
+       " 7eu:\n",
+       " 8    data:\n",
+       " 9        asn: 65100\n",
+       "10\n",
+       "11bma:\n",
+       "12    groups:\n",
+       "13        - eu\n",
+       "14        - global\n",
+       "15\n",
+       "16cmh:\n",
+       "17    data:\n",
+       "18        asn: 65000\n",
+       "19        vlans:\n",
+       "20          100: frontend\n",
+       "21          200: backend\n",
        "
\n", "\n" ], @@ -478,8 +486,12 @@ "data": { "text/html": [ "\n", - "
1 ---\n",
-       "2 data:\n",
-       "3     domain: acme.local\n",
+       "
1---\n",
+       "2data:\n",
+       "3    domain: acme.local\n",
        "
\n", "\n" ], @@ -749,8 +761,12 @@ "data": { "text/html": [ "\n", - "
 1 ---\n",
-       " 2 global:\n",
-       " 3     data:\n",
-       " 4         domain: global.local\n",
-       " 5         asn: 1\n",
-       " 6 \n",
-       " 7 eu:\n",
-       " 8     data:\n",
-       " 9         asn: 65100\n",
-       "10 \n",
-       "11 bma:\n",
-       "12     groups:\n",
-       "13         - eu\n",
-       "14         - global\n",
-       "15 \n",
-       "16 cmh:\n",
-       "17     data:\n",
-       "18         asn: 65000\n",
-       "19         vlans:\n",
-       "20           100: frontend\n",
-       "21           200: backend\n",
+       "
 1---\n",
+       " 2global:\n",
+       " 3    data:\n",
+       " 4        domain: global.local\n",
+       " 5        asn: 1\n",
+       " 6\n",
+       " 7eu:\n",
+       " 8    data:\n",
+       " 9        asn: 65100\n",
+       "10\n",
+       "11bma:\n",
+       "12    groups:\n",
+       "13        - eu\n",
+       "14        - global\n",
+       "15\n",
+       "16cmh:\n",
+       "17    data:\n",
+       "18        asn: 65000\n",
+       "19        vlans:\n",
+       "20          100: frontend\n",
+       "21          200: backend\n",
        "
\n", "\n" ], @@ -1398,7 +1414,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.2" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/processors.ipynb b/docs/tutorial/processors.ipynb index 95d16d5e..4c2384a0 100644 --- a/docs/tutorial/processors.ipynb +++ b/docs/tutorial/processors.ipynb @@ -177,8 +177,8 @@ " - host2.bma: - bye! my name is host2.bma\n", " - spine00.bma: - bye! my name is spine00.bma\n", " - spine01.bma: - bye! my name is spine01.bma\n", - " - leaf00.bma: - bye! my name is leaf00.bma\n", - " - leaf01.bma: - bye! my name is leaf01.bma\n", + " - leaf00.bma: - bye! my name is leaf00.bma - leaf01.bma: - bye! my name is leaf01.bma\n", + "\n", ">>> completed: bye!\n" ] }, @@ -380,7 +380,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/task_results.ipynb b/docs/tutorial/task_results.ipynb index 287d3bcb..acdf6569 100644 --- a/docs/tutorial/task_results.ipynb +++ b/docs/tutorial/task_results.ipynb @@ -135,7 +135,7 @@ "\u001b[0m\n", "\u001b[0m\u001b[1m\u001b[31m---- Greeting is the polite thing to do ** changed : False --------------------- ERROR\u001b[0m\n", "\u001b[0mTraceback (most recent call last):\n", - " File \"/opt/conda/lib/python3.8/site-packages/nornir/core/task.py\", line 99, in start\n", + " File \"/nornir/core/task.py\", line 99, in start\n", " r = self.task(self, **self.params)\n", " File \"\", line 19, in say\n", " raise Exception(\"I can't say anything right now\")\n", @@ -244,7 +244,7 @@ "\u001b[0m\n", "\u001b[0m\u001b[1m\u001b[31m---- Greeting is the polite thing to do ** changed : False --------------------- ERROR\u001b[0m\n", "\u001b[0mTraceback (most recent call last):\n", - " File \"/opt/conda/lib/python3.8/site-packages/nornir/core/task.py\", line 99, in start\n", + " File \"/nornir/core/task.py\", line 99, in start\n", " r = self.task(self, **self.params)\n", " File \"\", line 19, in say\n", " raise Exception(\"I can't say anything right now\")\n", @@ -421,7 +421,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/docs/tutorial/tasks.ipynb b/docs/tutorial/tasks.ipynb index 461ce4c6..f2c2d772 100644 --- a/docs/tutorial/tasks.ipynb +++ b/docs/tutorial/tasks.ipynb @@ -273,7 +273,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.7" } }, "nbformat": 4, diff --git a/poetry.lock b/poetry.lock index e00c2215..188fe9a3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1101,7 +1101,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" [[package]] name = "pygments" -version = "2.6.1" +version = "2.10.0" description = "Pygments is a syntax highlighting package written in Python." category = "main" optional = false @@ -1694,7 +1694,7 @@ docs = ["sphinx", "sphinx_rtd_theme", "sphinxcontrib-napoleon", "jupyter", "nbsp [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "a4ae8baee015eb018ff8d2d21fb1b43711fb8ff87b94fdfa8e78838331229666" +content-hash = "40e89b152c164082ee2f68da5f9fe2576e9daed2178a9d70ccfd3868ff529fb1" [metadata.files] alabaster = [ @@ -2256,8 +2256,8 @@ pyflakes = [ {file = "pyflakes-2.3.1.tar.gz", hash = "sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db"}, ] pygments = [ - {file = "Pygments-2.6.1-py3-none-any.whl", hash = "sha256:ff7a40b4860b727ab48fad6360eb351cc1b33cbf9b15a0f689ca5353e9463324"}, - {file = "Pygments-2.6.1.tar.gz", hash = "sha256:647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44"}, + {file = "Pygments-2.10.0-py3-none-any.whl", hash = "sha256:b8e67fe6af78f492b3c4b3e2970c0624cbf08beb1e493b2c99b9fa1b67a20380"}, + {file = "Pygments-2.10.0.tar.gz", hash = "sha256:f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6"}, ] pylama = [ {file = "pylama-7.7.1-py2.py3-none-any.whl", hash = "sha256:fd61c11872d6256b019ef1235be37b77c922ef37ac9797df6bd489996dddeb15"}, diff --git a/pyproject.toml b/pyproject.toml index 1afa3599..8d826e85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ sphinx_rtd_theme = "^0.4" sphinxcontrib_napoleon = "^0.7" jupyter = "^1" nbsphinx = "^0.5" -pygments = "2.6.1" +pygments = "^2" sphinx-issues = "^1.2" # for docs only