Skip to content

Commit

Permalink
chore: drop support for end of life Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Jan 8, 2022
1 parent e292c28 commit d4232b1
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, macos-10.15 ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
steps:
- uses: actions/checkout@v2
- run: git submodule update --init
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push_on_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, macos-10.15 ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]
steps:
- uses: actions/checkout@v2
- run: git submodule update --init
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/tartiflette/tartiflette.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/tartiflette/tartiflette/context:python)


**Tartiflette** is a GraphQL Server implementation built with **Python 3.6+**.
**Tartiflette** is a GraphQL Server implementation built with **Python 3.7+**.

**Summary**

Expand Down
2 changes: 2 additions & 0 deletions changelogs/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

## Changed

- [PR-553](https://github.com/tartiflette/tartiflette/pull/553) - Remove support for end of life Python 3.6

## Fixed
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Please provide the steps to reproduce your problem and, if possible, a full repr

* [ ] **Explain with a simple sentence the expected behavior**
* [ ] **Tartiflette version:** _e.g 0.1.0_
* [ ] **Python version:** _e.g 3.6_
* [ ] **Python version:** _e.g 3.7_
* [ ] **Executed in docker:** _Yes|No_
* [ ] **Dockerfile sample:** _Link of sample_
* [ ] **GraphQL Schema & Query:** _e.g gist, pastebin or directly the query_
Expand Down
2 changes: 1 addition & 1 deletion docs/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please provide the steps to reproduce your problem and, if possible, a full repr

* [ ] **Explain with a simple sentence the expected behavior**
* [ ] **Tartiflette version:** _e.g 0.1.0_
* [ ] **Python version:** _e.g 3.6_
* [ ] **Python version:** _e.g 3.7_
* [ ] **Executed in docker:** _Yes|No_
* [ ] **Dockerfile sample:** _Link of sample_
* [ ] **GraphQL Schema & Query:** _e.g gist, pastebin or directly the query_
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ The tutorial's end result is available on GitHub at [tartiflette-aiohttp-tutoria

## Prerequisites

We assume that you are familiar with Python 3.6+, `asyncio` and more generally with asynchronous development. We do not plan to link this tutorial with other technologies like RDBMS _(MySQL, Postgres etc ...)_. We will keep this tutorial focused on `tartiflette` usage.
We assume that you are familiar with Python 3.7+, `asyncio` and more generally with asynchronous development. We do not plan to link this tutorial with other technologies like RDBMS _(MySQL, Postgres etc ...)_. We will keep this tutorial focused on `tartiflette` usage.

Moreover, we will intensively use the command line to manipulate files or launch commands.

### System requirements

Make sure that your setup contains:
* Python 3.6+ via Pipenv
* Python 3.7+ via Pipenv
* git
* a package manager (e.g: `homebrew` on macOS or `apt` on Ubuntu)

Expand Down
2 changes: 1 addition & 1 deletion docs/welcome/what-is-tartiflette.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_label: What is Tartiflette?

Welcome, glad to see you here.

**Tartiflette** is a GraphQL engine, built on top of Python 3.6 and above. Focused on building GraphQL APIs using the awesome **Schema Definition Language**.
**Tartiflette** is a GraphQL engine, built on top of Python 3.7 and above. Focused on building GraphQL APIs using the awesome **Schema Definition Language**.

## What is GraphQL?

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line_length = 79
target-version = ["py36"]
target-version = ["py37"]

[tool.isort]
profile = "black"
Expand All @@ -18,6 +18,7 @@ known_first_party = [
]
combine_as_imports = true
lines_between_types = 1
py_version=37

[tool.coverage.run]
data_file = "reports/.coverage"
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ project_urls =
classifiers =
Intended Audience :: Developers
Topic :: Software Development :: Libraries
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand All @@ -34,7 +33,7 @@ keywords =
dailymotion

[options]
python_requires = >=3.6
python_requires = >=3.7
install_requires =
cffi>=1.0.0,<2.0.0
lark-parser==0.12.0
Expand Down

0 comments on commit d4232b1

Please sign in to comment.