Skip to content

Commit 31fe319

Browse files
committed
require python3.7+
1 parent a5bd066 commit 31fe319

File tree

7 files changed

+21
-26
lines changed

7 files changed

+21
-26
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
rev: v3.9.0
1414
hooks:
1515
- id: reorder-python-imports
16-
args: [--py36-plus]
16+
args: [--py37-plus]
1717
- repo: https://github.com/asottile/add-trailing-comma
1818
rev: v2.3.0
1919
hooks:
@@ -23,7 +23,7 @@ repos:
2323
rev: v3.3.0
2424
hooks:
2525
- id: pyupgrade
26-
args: [--py36-plus]
26+
args: [--py37-plus]
2727
- repo: https://github.com/pre-commit/mirrors-autopep8
2828
rev: v2.0.0
2929
hooks:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ distribution/deployment. That means you can add just ``libsass`` into
2424
your ``setup.py``'s ``install_requires`` list or ``requirements.txt`` file.
2525
No need for Ruby nor Node.js.
2626

27-
It currently supports CPython 3.6+, and PyPy 3!
27+
It currently supports CPython 3.7+, and PyPy 3!
2828

2929
.. _Sass: https://sass-lang.com/
3030
.. _LibSass: https://github.com/sass/libsass

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
wheel_tags: true
3030
- template: job--python-tox.yml@asottile
3131
parameters:
32-
toxenvs: [pypy3, py36, py37, py38, py39]
32+
toxenvs: [pypy3, py37, py38, py39]
3333
os: linux

bin/build-manylinux-wheels

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,20 @@ def check_call(*cmd):
2121

2222
def main():
2323
os.makedirs('dist', exist_ok=True)
24-
for python in ('cp27-cp27mu', 'cp36-cp36m'):
25-
with tempfile.TemporaryDirectory() as work:
26-
pip = f'/opt/python/{python}/bin/pip'
27-
check_call(
28-
'docker', 'run', '-ti',
29-
# Use this so the files are not owned by root
30-
'--user', f'{os.getuid()}:{os.getgid()}',
31-
# We'll do building in /work and copy results to /dist
32-
'-v', f'{work}:/work:rw',
33-
'-v', '{}:/dist:rw'.format(os.path.abspath('dist')),
34-
'quay.io/pypa/manylinux1_x86_64:latest',
35-
'bash', '-exc',
36-
'{} wheel --verbose --wheel-dir /work --no-deps libsass && '
37-
'auditwheel repair --wheel-dir /dist /work/*.whl'.format(pip),
38-
)
24+
with tempfile.TemporaryDirectory() as work:
25+
pip = '/opt/python/cp37-cp37m/bin/pip'
26+
check_call(
27+
'docker', 'run', '-ti',
28+
# Use this so the files are not owned by root
29+
'--user', f'{os.getuid()}:{os.getgid()}',
30+
# We'll do building in /work and copy results to /dist
31+
'-v', f'{work}:/work:rw',
32+
'-v', '{}:/dist:rw'.format(os.path.abspath('dist')),
33+
'quay.io/pypa/manylinux1_x86_64:latest',
34+
'bash', '-exc',
35+
'{} wheel --verbose --wheel-dir /work --no-deps libsass && '
36+
'auditwheel repair --wheel-dir /dist /work/*.whl'.format(pip),
37+
)
3938
return 0
4039

4140

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ distribution/deployment. That means you can add just ``libsass`` into
88
your :file:`setup.py`'s ``install_requires`` list or :file:`requirements.txt`
99
file.
1010

11-
It currently supports CPython 3.6+ and PyPy 3!
11+
It currently supports CPython 3.7+ and PyPy 3!
1212

1313
.. _Sass: https://sass-lang.com/
1414
.. _LibSass: https://github.com/sass/libsass

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,6 @@ def finalize_options(self):
276276
'Programming Language :: C',
277277
'Programming Language :: C++',
278278
'Programming Language :: Python :: 3',
279-
'Programming Language :: Python :: 3.6',
280-
'Programming Language :: Python :: 3.7',
281-
'Programming Language :: Python :: 3.8',
282-
'Programming Language :: Python :: 3.9',
283279
'Programming Language :: Python :: Implementation :: CPython',
284280
'Programming Language :: Python :: Implementation :: PyPy',
285281
'Programming Language :: Python :: Implementation :: Stackless',
@@ -288,6 +284,6 @@ def finalize_options(self):
288284
'Topic :: Software Development :: Code Generators',
289285
'Topic :: Software Development :: Compilers',
290286
],
291-
python_requires='>=3.6',
287+
python_requires='>=3.7',
292288
cmdclass=cmdclass,
293289
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = pypy3,py36,py37,py38,py39,pre-commit
2+
envlist = py,pypy3,pre-commit
33

44
[testenv]
55
usedevelop = true

0 commit comments

Comments
 (0)