diff options
| author | Gabriele N. Tornetta <phoenix1987@gmail.com> | 2021-10-25 10:34:34 +0100 |
|---|---|---|
| committer | Gabriele N. Tornetta <phoenix1987@gmail.com> | 2021-10-25 11:01:07 +0100 |
| commit | c6ed2932f8892274187c99cad6ef27e29d142dd6 (patch) | |
| tree | 776908f7d160d153b0924eb27466ab5b173ea33e | |
| parent | 4b3b0156e69a46e83c2fd28cbd67b91ff33be558 (diff) | |
| download | miasm-c6ed2932f8892274187c99cad6ef27e29d142dd6.tar.gz miasm-c6ed2932f8892274187c99cad6ef27e29d142dd6.zip | |
ci: pin pyparsing dependency
While testing with Python 3.9, tests were failing because of breaking changes in version 3 of pyparsing. Therefore the dependency on pyparsing should be pinned to ~=2.0 for now.
| -rw-r--r-- | .github/workflows/tests.yml | 5 | ||||
| -rw-r--r-- | requirements.txt | 2 | ||||
| -rw-r--r-- | setup.py | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d1208285..49926aed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['2.7', '3.6'] + python-version: ['2.7', '3.6', '3.8'] steps: @@ -19,6 +19,9 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Update pip + run: pip install pip --upgrade + - name: Install requirements run: pip install -r requirements.txt diff --git a/requirements.txt b/requirements.txt index eb542916..5db3c2a8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -pyparsing +pyparsing~=2.0 future diff --git a/setup.py b/setup.py index 4980028f..5c491fbe 100644 --- a/setup.py +++ b/setup.py @@ -242,7 +242,7 @@ def buil_all(): "VERSION" ] }, - install_requires=['future', 'pyparsing'], + install_requires=['future', 'pyparsing~=2.0'], cmdclass={"install_data": smart_install_data}, ext_modules = ext_modules, # Metadata |