Skip to content

Commit 51863c1

Browse files
authored
Revert "chore: upgrade to python3.11 (#78)" (#85)
This reverts commit a9b6e5a.
1 parent 554e2a3 commit 51863c1

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
tests:
88
runs-on: ubuntu-latest
9-
container: python:3.11
9+
container: python:3.10
1010
steps:
1111
- uses: actions/checkout@v3
1212
- name: Install package.
@@ -17,7 +17,7 @@ jobs:
1717
run: pytest
1818
build:
1919
runs-on: ubuntu-latest
20-
container: python:3.11
20+
container: python:3.10
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Install package.
@@ -26,7 +26,7 @@ jobs:
2626
run: aip-site-gen tests/test_data/ /out/
2727
lint:
2828
runs-on: ubuntu-latest
29-
container: python:3.11
29+
container: python:3.10
3030
steps:
3131
- uses: actions/checkout@v3
3232
- name: Install the linter (flake8).
@@ -35,7 +35,7 @@ jobs:
3535
run: flake8 aip_site/ tests/
3636
mypy:
3737
runs-on: ubuntu-latest
38-
container: python:3.11
38+
container: python:3.10
3939
steps:
4040
- uses: actions/checkout@v3
4141
- name: Install package.

setup.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Copyright 2020 Google LLC
22
#
3-
# Licensed under the Apache License, Version 2.0 (the 'License');
3+
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
77
# https://www.apache.org/licenses/LICENSE-2.0
88
#
99
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an 'AS IS' BASIS,
10+
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
@@ -37,10 +37,10 @@
3737
description='Static site generator for aip.dev and forks.',
3838
long_description=long_description,
3939
long_description_content_type='text/markdown',
40-
entry_points='''[console_scripts]
40+
entry_points="""[console_scripts]
4141
aip-site-gen=aip_site.cli:publish
4242
aip-site-serve=aip_site.cli:serve
43-
''',
43+
""",
4444
platforms='Posix; MacOS X',
4545
include_package_data=True,
4646
install_requires=(
@@ -52,9 +52,7 @@
5252
'markupsafe==2.1.1',
5353
'pygments==2.13.0',
5454
'pymdown-extensions==9.7',
55-
# pinning via GitHub release until https://github.com/Kronuz/pyScss/pull/426
56-
# is released on PyPi.
57-
'pyscss @ git+https://github.com/Kronuz/pyScss.git@73559d047706ccd4593cf6aa092de71f35164723',
55+
'pyscss==1.4.0',
5856
'pyyaml==6.0',
5957
'six==1.16.0',
6058
'types-Markdown==3.4.2.1',

0 commit comments

Comments
 (0)