Skip to content

Commit

Permalink
Merge pull request #62 from JasperCraeghs/main
Browse files Browse the repository at this point in the history
Test support for Pyparsing 3.x and Python 3.10
  • Loading branch information
MatthieuDartiailh authored Oct 10, 2022
2 parents 9c88c2c + 2d77d2e commit e716510
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
- cron: '0 0 * * 3'
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
paths:
- .github/workflows/ci.yml
- pyclibrary/*
Expand All @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -31,9 +31,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install project
- name: Install project with the latest dependency versions
run: |
python setup.py develop
pip install --upgrade --upgrade-strategy eager -e .
- name: Test with pytest
run: |
pip install pytest-cov
Expand All @@ -45,3 +45,7 @@ jobs:
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
- name: Test with the oldest supported dependency versions
run: |
pip install pyparsing==2.3.1
python -m pytest tests
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
PyCLibrary Changelog
====================

0.2.1 - 10/10/2022
------------------

- test compatibility with Python 3.10 PR #62
- test compatibility with pyparsing 3.x PR #62

0.2.0 - 03/10/2022
------------------

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
zip_safe = False,
packages = ['pyclibrary', 'pyclibrary.backends', 'pyclibrary.thirdparty'],
package_data = {'pyclibrary': ['headers/*']},
install_requires = ['pyparsing>=2.3.1,<3'],
install_requires = ['pyparsing>=2.3.1,<4'],
)

0 comments on commit e716510

Please sign in to comment.