Skip to content

Commit

Permalink
Python 3.7 (#12)
Browse files Browse the repository at this point in the history
* Update README

* Python 3.7
  • Loading branch information
kojiishi authored Dec 19, 2021
1 parent 9be9b0e commit 1cfc058
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, '3.10']
platform: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ asyncio.run(main_async())
[adding fonts]: #adding-fonts

This package has a built-in list of supported fonts in its [config].
The list indicates these fonts passed the [visual test],
with possibly tweaked configurations.

Fonts not in the known list are still processed
with the default configuration,
Expand All @@ -110,10 +108,11 @@ the following process is recommended:
1. Find the font names.
Running the `add-chws` with `--print-name` option can print them.
2. Add them to the [config].
3. Build the font and run the [Visual Test].
3. (Optional) Build the font and run the [Visual Test].
This step is optional
because this package automatically avoids glyph collisions.
4. Tweak the [config] if needed.
because this package automatically avoids glyph collisions
by computing glyph outlines.
4. (Optional) Tweak the [config] if needed.

[config]: src/chws_tool/config.py

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"pytype",
],
},
python_requires=">=3.8",
python_requires=">=3.7",

# this is for type checker to use our inline type hints:
# https://www.python.org/dev/peps/pep-0561/#id18
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
; $ export TOXENV=py39
; $ tox
; # If present use $TOXENV environment variable
envlist = lint, py3{8,9,10}
envlist = lint, py3{7,8,9,10}

; if any of the requested python interpreters is unavailable (e.g. on the local dev
; workstation), the tests are skipped and tox won't return an error
Expand Down

0 comments on commit 1cfc058

Please sign in to comment.