Template:Pywikibot/Compatibility Graph

From Bonkipedia


<graph> {

 "width": 1024,
 "height": 240,
 "data": [
   {
     "name": "features",
     "format": {
       "type":"json",
       "parse":{"begin":"date","end":"date","deprecated":"date","desupported":"date"}
     },
     "values": [
       {"label":"MW 1.14–1.18",    "begin":"2021-11-21", "end":"2020-09-02", 
        "deprecated":"2020-02-17", "desupported":"2020-09-02"},
       {"label":"MW 1.19–1.22",    "begin":"2021-11-21", "end":"2021-01-24", 
        "deprecated":"2021-01-02", "desupported":"2021-01-24"},
       {"label":"MW 1.23–1.26",    "begin":"2021-11-21", "end":"2024-11-21", 
        "deprecated":"2022-05", "desupported":"2024-11-21"},
       {"label":"Python 2.7",      "begin":"2021-11-21", "end":"2020-07-03", 
        "deprecated":"2021-11-21", "desupported":"2020-07-03"},
       {"label":"Python 3.4",      "begin":"2021-11-21", "end":"2020-07-03", 
        "deprecated":"2019-12-04", "desupported":"2020-07-03"},
       {"label":"Python 3.5.0 - 3.5.2", "begin":"2021-11-21", "end":"2022-02-07", 
        "deprecated":"2021-09-15",      "desupported":"2022-02-07"},
       {"label":"Python 3.5.3 - 3.5.10", "begin":"2021-11-21", "end":"2024-11-21", 
        "deprecated":"2022-05-19", "desupported":"2024-11-21"},
       {"label":"Python 3.6, 3.7",  "begin":"2021-11-21", "end":"2025-08-21", 
        "deprecated":"2025-11-21", "desupported":"2025-11-21"},
       {"label":"Python 3.8",      "begin":"2021-11-21", "end":"2025-08-21", 
        "deprecated":"2021-11-21", "desupported":"2019-11-19"},
       {"label":"Python 3.9",      "begin":"2020-04-12", "end":"2025-08-21", 
        "deprecated":"2020-04-12", "desupported":"2020-08-16"},
       {"label":"Python 3.10",     "begin":"2020-07-29", "end":"2025-08-21", 
        "deprecated":"2020-07-29", "desupported":"2020-12-19"},
       {"label":"Python 3.11",     "begin":"2021-12-04", "end":"2025-08-21", 
        "deprecated":"2021-12-04", "desupported":"2022-02-26"},
       {"label":"pypy 3",          "begin":"2021-12-01", "end":"2025-08-21", 
        "deprecated":"2021-12-01", "desupported":"2022-02-26"},
       {"label":"Python 3.12",     "begin":"2022-11", "end":"2025-08-21", 
        "deprecated":"2022-11",    "desupported":"2023-01"},
     ]
   },
   {
     "name": "events",
     "format": {
       "type":"json",
       "parse":{"when":"date"}
     },
     "values": [
       {"name":"3.0.20200111",   "when":"2020-01-11"},
       {"name":"3.0.20200306",   "when":"2020-03-06"},
       {"name":"3.0.20200326",   "when":"2020-03-26"},
       {"name":"           3.0.20200405",   "when":"2020-04-05"},
       {"name":"3.0.20200508",   "when":"2020-05-08"},
       {"name":"3.0.20200609",   "when":"2020-06-09"},
       {"name":"3.0.20200703",   "when":"2020-07-03"},
       {"name":"4.0.0",          "when":"2020-08-04"},
       {"name":"         4.1.0", "when":"2020-08-16"},
       {"name":"",               "when":"2020-08-18"},
       {"name":"4.2.0",          "when":"2020-08-28"},
       {"name":"         4.3.0", "when":"2020-09-02"},
       {"name":"5.0.0",          "when":"2020-10-19"},
       {"name":"         5.1.0", "when":"2020-11-01"},
       {"name":"5.2.0",          "when":"2020-12-10"},
       {"name":"         5.3.0", "when":"2020-12-19"},
       {"name":"5.4.0",          "when":"2021-01-02"},
       {"name":"         5.5.0", "when":"2021-01-12"},
       {"name":"5.6.0",          "when":"2021-01-24"},
       {"name":"6.0.0",          "when":"2021-03-16"},
       {"name":"",               "when":"2021-03-20"},
       {"name":"6.1.0",          "when":"2021-04-17"},
       {"name":"6.2.0",          "when":"2021-05-28"},
       {"name":"         6.3.0", "when":"2021-05-31"},
       {"name":"6.4.0",          "when":"2021-07-01"},
       {"name":"6.5.0",          "when":"2021-08-05"},
       {"name":"6.6.0",          "when":"2021-09-15"},
       {"name":"         6.6.1", "when":"2021-09-21"},
       {"name":"6.6.2",          "when":"2021-10-29"},
       {"name":"6.6.3",          "when":"2021-12-01"},
       {"name":"6.6.4",          "when":"2022-01-27"},
       {"name":"         6.6.5", "when":"2022-02-07"},
       {"name":"7.0.0",          "when":"2022-02-26"},
       {"name":"7.1.0",          "when":"2022-03-26"},
       {"name":"         7.1.1", "when":"2022-04-15"},
       {"name":"7.2.0",          "when":"2022-04-26"},
       {"name":"         7.2.1", "when":"2022-05-07"},
       {"name":"7.3.0",          "when":"2022-05-21"},
       {"name":"7.4.0",          "when":"2022-06-26"},
       {"name":"7.5.0",          "when":"2022-07-22"},
       {"name":"         7.5.1", "when":"2022-07-24"},
       {"name":"                  7.5.2", "when":"2022-07-26"},
       {"name":"7.6.0",          "when":"2022-08-21"},
       {"name":"7.7.0",          "when":"2022-09-25"},
       {"name":"7.7.1",          "when":"2022-10-10"},
       {"name":"         8.0.0.dev0", "when": "2022-11" },
     ]
   },
   {
     "name": "tags",
     "format": {
       "type":"json",
       "parse":{"when":"date"}
     },
     "values": [
       {"name":"python2", "when":"2020-07-03"},
       {"name":"stable",  "when":"2022-10-10"},
     ]
   },
   {
     "name": "branches",
     "format": {
       "type":"json",
       "parse":{"when":"date"}
     },
     "values": [
       {"name":"master", "when": "2022-11" }
     ]
   },
   {
     "name": "major",
     "format": {
       "type":"json",
       "parse":{"when":"date"}
     },
     "values": [
     ]
   },
 ],
 "scales": [
   {
     "name": "y",
     "type": "ordinal",
     "range": "height",
     "domain": {"data": "features", "field": "label"}
   },
   {
     "name": "x",
     "type": "time",
     "range": "width",
     "round": true,
     "nice": "month",
     "domain": {"data": "features", "field": ["begin", "end"]}
   }
 ],
 "axes": [
   {
     "type": "x",
     "scale": "x",
     "properties": {
       "labels": {
         "fontSize": {"value": 18}
       }
     }
   }
 ],
 "marks": [
   {
     "type": "text",
     "from": {"data": "events"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": -24},
         "angle": {"value": -45},
         "fill": {"value": "#000"},
         "text": {"field": "name"},
         "font": {"value": "Helvetica Neue"},
         "fontSize": {"value": 12}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "events"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": -18},
         "width": {"value": 1},
         "height": {"field": {"group": "height"}, "offset": 18},
         "fill": {"value": "#888"}
       }
     }
   },
   {
     "type": "text",
     "from": {"data": "tags"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": 306},
         "align": {"value": "right"},
         "angle": {"value": -45},
         "dx": {"value": 5},
         "fill": {"value": "#000"},
         "text": {"field": "name"},
         "font": {"value": "Helvetica Neue"},
         "fontSize": {"value": 15}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "tags"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": -18},
         "width": {"value": 2},
         "height": {"field": {"group": "height"}, "offset": 48},
         "fill": {"value": "green"}
       }
     }
   },
   {
     "type": "text",
     "from": {"data": "branches"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": 330},
         "align": {"value": "right"},
         "angle": {"value": -45},
         "dx": {"value": 5},
         "fill": {"value": "#000"},
         "text": {"field": "name"},
         "font": {"value": "Helvetica Neue"},
         "fontSize": {"value": 15}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "branches"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": -18},
         "width": {"value": 2},
         "height": {"field": {"group": "height"}, "offset": 72},
         "fill": {"value": "red"}
       }
     }
   },
   {
     "type": "text",
     "from": {"data": "major"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": 330},
         "align": {"value": "right"},
         "angle": {"value": -45},
         "dx": {"value": 5},
         "fill": {"value": "#000"},
         "text": {"field": "name"},
         "font": {"value": "Helvetica Neue"},
         "fontSize": {"value": 15}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "major"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "when"},
         "y": {"value": -18},
         "width": {"value": 2},
         "height": {"field": {"group": "height"}, "offset": 72},
         "fill": {"value": "blue"}
       }
     }
   },
   {
     "type": "text",
     "from": {"data": "features"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "begin"},
         "y": {"scale": "y", "field": "label", "offset": -3},
         "fill": {"value": "#000"},
         "text": {"field": "label"},
         "font": {"value": "Helvetica Neue"},
         "fontSize": {"value": 20}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "features"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "begin"},
         "x2": {"scale": "x", "field": "end"},
         "y": {"scale": "y", "field": "label"},
         "height": {"value": 2},
         "fill": {"value": "#557"}
       }
     }
   },
   {
     "type": "rect",
     "from": {"data": "features"},
     "properties": {
       "enter": {
         "x": {"scale": "x", "field": "deprecated"},
         "x2": {"scale": "x", "field": "desupported"},
         "y": {"scale": "y", "field": "label", "offset":-1},
         "height": {"value": 4},
         "fill": {"value": "orange"}
       }
     }
   }
 ]

} </graph>

Legend

Horizontal
  implementation/deprecation period
  supported
Vertical
  Pywikibot releases
  git tags
  current master
  next major release
Template documentation