diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..dcbc21d86f9e4b17ea7e8803d538c4c0f0b6276a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# https://editorconfig.org/ +# https://github.com/editorconfig/editorconfig-vim +# https://github.com/editorconfig/editorconfig-emacs + +root = true + +[*] +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.py] +indent_size = 4 + +[*.rst] +indent_size = 4 + +[*.cpp] +indent_size = 2 + +[*.hpp] +indent_size = 2 + +# There may be one in doc/ +[Makefile] +indent_style = tab + +# https://github.com/microsoft/vscode/issues/1679 +[*.md] +trim_trailing_whitespace = false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f529d4b9322f8776f4ad34cdb0dc7327714806a..41309941873519f8b9b73905c4e96c4920f27139 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-python@v1 with: - python-version: '3.x' + python-version: '3.x' - name: "Main Script" run: | curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d2507450071bee82846e301a81d7f29f9df613e..1cf24922dd298a6a3b22b8cc839ba8e2fcb2a911 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,3 @@ -Python 2.7: - script: - - export PY_EXE=python2.7 - - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - - ". ./build-and-test-py-project.sh" - tags: - - python2.7 - except: - - tags - artifacts: - reports: - junit: test/pytest.xml - Python 3: script: - export PY_EXE=python3 @@ -54,12 +41,12 @@ Python 3 + Barvinok: reports: junit: test/pytest.xml - -PyPy: +PyPy3: script: - - export PY_EXE=pypy + - export PY_EXE=pypy3 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ". ./build-and-test-py-project.sh" + allow_failure: true tags: - pypy except: diff --git a/islpy/version.py b/islpy/version.py index b24042b3aa5f639af3e1e9cd265efbbb68dca72f..5cea8857d9550183c2caabd0948032faac48e0ae 100644 --- a/islpy/version.py +++ b/islpy/version.py @@ -1,2 +1,2 @@ -VERSION = (2019, 1, 2) +VERSION = (2020, 1) VERSION_TEXT = ".".join(str(i) for i in VERSION) diff --git a/setup.py b/setup.py index 0713a04cf6cb8b5cc620eb8b4597482ba9518471..7878a6e787ae1e9a5a6fdf6a212a9c7a005cfa5c 100644 --- a/setup.py +++ b/setup.py @@ -285,7 +285,6 @@ def main(): 'Natural Language :: English', 'Programming Language :: C++', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', @@ -305,6 +304,7 @@ def main(): setup_requires=["cffi>=1.1.0"], cffi_modules=["islpy_cffi_build.py:ffi"], + python_requires="~=3.6", install_requires=[ "pytest>=2", "cffi>=1.1.0",