Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove more references to 3.6 #369

Merged
merged 6 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: 'manylinux2014'
CIBW_ARCHS: auto64
CIBW_BUILD: 'cp3*'
CIBW_SKIP: '*p36*'
CIBW_BEFORE_BUILD: pip3 install Cython

- uses: actions/upload-artifact@v3
Expand All @@ -39,9 +40,6 @@ jobs:
name: 'Checkout source repository'

- uses: actions/setup-python@v4
name: 'Set up Python 3.10'
with:
python-version: '3.10'

- name: 'Build sdist'
run: >
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ Yes! Use the `asyncio` reactor implementation: https://twistedmatrix.com/documen

### Will you support Python 2.7 or Python 3.5

No. Faust requires Python 3.6 or later, since it heavily uses features that were
No. Faust requires Python 3.7 or later, since it heavily uses features that were
introduced in Python 3.6 (`async`, `await`, variable type annotations).

### I get a maximum number of open files exceeded error by RocksDB when running a Faust app locally. How can I fix this
Expand Down
2 changes: 1 addition & 1 deletion docs/includes/faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ https://twistedmatrix.com/documents/17.1.0/api/twisted.internet.asyncioreactor.h
Will you support Python 2.7 or Python 3.5?
------------------------------------------

No. Faust requires Python 3.6 or later, since it heavily uses features that were
No. Faust requires Python 3.7 or later, since it heavily uses features that were
introduced in Python 3.6 (`async`, `await`, variable type annotations).


Expand Down
4 changes: 2 additions & 2 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ What do I need?

**Core**

- Python 3.6 or later.
- Python 3.7 or later.
- Kafka 0.10.1 or later.

**Extensions**

- RocksDB 5.0 or later, :pypi:`python-rocksdb`

Faust requires Python 3.6 or later, and a running Kafka broker.
Faust requires Python 3.7 or later, and a running Kafka broker.

There's no plan to support earlier Python versions.
Please get in touch if this is something you want to work on.
Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/application.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ setuptools to install a command-line program for your project.
include_package_data=True,
zip_safe=False,
install_requires=['faust'],
python_requires='~=3.6',
python_requires='~=3.7',
)

For inspiration you can also look to the `setup.py` files in the
Expand Down
3 changes: 1 addition & 2 deletions examples/django/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Operating System :: POSIX
Operating System :: POSIX :: Linux
Operating System :: MacOS :: MacOS X
Expand Down Expand Up @@ -96,7 +95,7 @@ def reqs(*f):
license='BSD',
packages=find_packages(exclude=['ez_setup', 'tests', 'tests.*']),
include_package_data=True,
python_requires='>=3.6.0',
python_requires='>=3.7.0',
keywords=[],
zip_safe=False,
install_requires=reqs('default.txt'),
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
LIBRARIES = []
E_UNSUPPORTED_PYTHON = NAME + " 1.0 requires Python %%s or later!"

if sys.version_info < (3, 6):
raise Exception(E_UNSUPPORTED_PYTHON % ("3.6",)) # NOQA
if sys.version_info < (3, 7):
raise Exception(E_UNSUPPORTED_PYTHON % ("3.7",)) # NOQA

from pathlib import Path # noqa

Expand Down Expand Up @@ -195,7 +195,7 @@ def do_setup(**kwargs):
# PEP-561: https://www.python.org/dev/peps/pep-0561/
package_data={"faust": ["py.typed"]},
include_package_data=True,
python_requires=">=3.6.0",
python_requires=">=3.7.0",
zip_safe=False,
install_requires=reqs("requirements.txt"),
tests_require=reqs("test.txt"),
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = 3.10,3.9,3.8,3.7,3.6,flake8,apicheck,configcheck,typecheck,docstyle,bandit,spell
envlist = 3.10,3.9,3.8,3.7,flake8,apicheck,configcheck,typecheck,docstyle,bandit,spell

[testenv]
deps=
Expand All @@ -21,7 +21,6 @@ basepython =
3.9,flake8,apicheck,linkcheck,configcheck,typecheck,docstyle,bandit,spell: python3.9
3.8,flake8,apicheck,linkcheck,configcheck,typecheck,docstyle,bandit,spell: python3.8
3.7: python3.7
3.6: python3.6

[testenv:apicheck]
setenv =
Expand Down