Skip to content

Commit 285350a

Browse files
authored
Merge pull request #26 from embray/fix-ci
Fix CI
2 parents 89a156b + 8a4f573 commit 285350a

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
platform: ["ubuntu-latest", "macos-latest"]
16-
python-version: ["3.6", "3.7", "3.8"]
16+
python-version: ["3.7", "3.8"]
1717
gap-version: ["4.10.2", "4.11.0"]
1818
exclude:
19-
- python-version: "3.6"
20-
gap-version: "4.11.0"
2119
- python-version: "3.7"
2220
gap-version: "4.11.0"
2321
- python-version: "3.8"
2422
gap-version: "4.10.2"
23+
- platform: "macos-latest"
24+
python-version: "3.7"
2525
runs-on: "${{ matrix.platform }}"
2626
steps:
27-
- uses: actions/checkout@v2
28-
- uses: actions/cache@v1
27+
- uses: actions/checkout@v4
28+
- uses: actions/cache@v4
2929
env:
3030
# Increase this value to reset cache manually
3131
CACHE_NUMBER: 0
3232
with:
3333
path: ~/conda_pkgs_dir
3434
key: "${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ matrix.python-version }}-${{ matrix.gap-version }}"
35-
- uses: "conda-incubator/setup-miniconda@v2"
35+
- uses: "conda-incubator/setup-miniconda@v3"
3636
with:
3737
auto-update-conda: true
3838
python-version: "${{ matrix.python-version }}"

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ gappy/*.dll
1515
.eggs/
1616
dist/
1717

18+
## Local development virtual env
19+
.venv*
20+
1821
## setuptools_scm files
1922
gappy/_version.py
2023

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Changelog
44
v0.1.0a4 (unreleased)
55
---------------------
66

7+
Breaking changes
8+
^^^^^^^^^^^^^^^^
9+
10+
* Dropped support for Python 3.6; Python 3.7+ is officially supported (3.6 may
11+
still work but is not tested).
12+
713
Enhancements
814
^^^^^^^^^^^^
915

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ accessed in this way:
5555

5656
.. code-block:: python
5757
58-
>>> GAPInfo.Version
58+
>>> gap.GAPInfo.Version
5959
"4.dev"
6060
6161
Most basic Python types have direct equivalents in GAP, and can be passed

gappy/gapobj.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ cdef class GapObj:
13101310
>>> from cysignals.alarm import alarm, AlarmInterrupt
13111311
>>> a, b = gap.GL(1000, 3).GeneratorsOfGroup(); g = a * b
13121312
>>> try:
1313-
... alarm(0.5); g ^ (2 ^ 10000)
1313+
... alarm(0.5); g ^ (gap(2) ^ 10000)
13141314
... except AlarmInterrupt:
13151315
... print('interrupted long computation')
13161316
...

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
name = gappy-system
33
author = E. Madison Bray
4-
author-email = [email protected]
4+
author_email = [email protected]
55
description = Python interface to GAP
66
url = https://github.com/embray/gappy
77
long_description = file: README.rst, CHANGES.rst
@@ -16,15 +16,14 @@ classifiers =
1616
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
1717
Operating System :: POSIX :: Linux
1818
Programming Language :: Cython
19-
Programming Language :: Python :: 3.6
2019
Programming Language :: Python :: 3.7
2120
Programming Language :: Python :: 3.8
2221
Topic :: Scientific/Engineering :: Mathematics
2322

2423
[options]
2524
# We set packages to find: to automatically find all sub-packages
2625
packages = find:
27-
python_requires = >=3.6
26+
python_requires = >=3.7
2827
setup_requires = setuptools_scm
2928
install_requires =
3029
cysignals

0 commit comments

Comments
 (0)