Skip to content

Commit

Permalink
Merge pull request #119 from laws-africa/python-3-10
Browse files Browse the repository at this point in the history
Drop support for Python < 3.9
  • Loading branch information
longhotsummer authored Aug 14, 2024
2 parents 2809b34 + 4c442c6 commit 5d264fb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"

- name: Build distribution
run: python -m pip install build && python -m build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install 'git+https://[email protected]/laws-africa/cobalt.git@master#egg=cobalt'
pip install -e '.[test]'
- name: Test with nosetests
run: nosetests
- name: Run tests
run: python -m unittest
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ and removes the `displaced` element.
1. We use a version of `canopy` from github, so clone it into the same directory as this directory: `git clone https://github.com/jcoglan/canopy.git`
2. Build canopy: `cd canopy; npm install; make; cd ..`
3. Build grammar changes with `make`, which runs our Makefile to compile the grammar
4. Run tests with: `python -m unittest`

## Releasing a new version

Expand Down
2 changes: 1 addition & 1 deletion bluebell/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.3.0"
__version__ = "3.0.0"
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors = [
]
license = {text = "LGPLv3+"}
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -22,7 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"cobalt>=8.0.0",
"cobalt>=9.0.0",
"lxml>=3.4.1",
]
dynamic = ["version"]
Expand All @@ -32,7 +32,7 @@ dynamic = ["version"]
"Bug Tracker" = "https://github.com/laws-africa/bluebell/issues"

[project.optional-dependencies]
test = ["nose", "flake8"]
test = ["flake8"]

[project.scripts]
bluebell = "bluebell.cli:main"
Expand Down

0 comments on commit 5d264fb

Please sign in to comment.