Browse Source

env: update the required minimum Python version to 3.9

pull/1064/head
mingrammer 1 day ago
parent
commit
ed69c6b4c9
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      README.md
  2. +2
    -2
      pyproject.toml

+ 2
- 2
README.md View File

@@ -4,7 +4,7 @@

[![license](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
[![pypi version](https://badge.fury.io/py/diagrams.svg)](https://badge.fury.io/py/diagrams)
![python version](https://img.shields.io/badge/python-%3E%3D%203.6-blue?logo=python)
![python version](https://img.shields.io/badge/python-%3E%3D%203.9-blue?logo=python)
![Run tests](https://github.com/mingrammer/diagrams/workflows/Run%20tests/badge.svg?branch=master)
[![todos](https://badgen.net/https/api.tickgit.com/badgen/github.com/mingrammer/diagrams?label=todos)](https://www.tickgit.com/browse?repo=github.com/mingrammer/diagrams)
![contributors](https://img.shields.io/github/contributors/mingrammer/diagrams)
@@ -41,7 +41,7 @@ Diagrams lets you draw the cloud system architecture **in Python code**. It was

## Getting Started

It requires **Python 3.7** or higher, check your Python version first.
It requires **Python 3.9** or higher, check your Python version first.

It uses [Graphviz](https://www.graphviz.org/) to render the diagram, so you need to [install Graphviz](https://graphviz.gitlab.io/download/) to use **diagrams**. After installing graphviz (or already have it), install the **diagrams**.



+ 2
- 2
pyproject.toml View File

@@ -13,7 +13,7 @@ include = ["resources/**/*"]
diagrams="diagrams.cli:main"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
graphviz = ">=0.13.2,<0.21.0"
jinja2 = ">=2.10,<4.0"
typed-ast = {version="^1.5.5", markers="python_version<'3.8'"}
@@ -26,4 +26,4 @@ isort = "^5.13"
black = "^24.4"

[tool.black]
line-length=120
line-length=120

Loading…
Cancel
Save