Skip to content

Commit

Permalink
Pre-release maintenance (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
BTOdell committed Oct 13, 2023
1 parent 09fbc01 commit 7e4269c
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -21,10 +21,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
python: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python ${{ matrix.python }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pre-commit.yml
Expand Up @@ -14,9 +14,7 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/setup.yml
Expand Up @@ -19,18 +19,18 @@ jobs:
strategy:
fail-fast: false
matrix:
# Disable MacOS testing because it's being dumb
# os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
# Disable MacOS testing because it's being dumb
# os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
os: [ ubuntu-20.04, ubuntu-22.04, windows-latest ]
python: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.os }}
steps:
- name: Install MSBuild
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.1
with:
msbuild-architecture: x64
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python ${{ matrix.python }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yml
Expand Up @@ -21,10 +21,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest ]
python: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python ${{ matrix.python }}
Expand Down
8 changes: 3 additions & 5 deletions .pre-commit-config.yaml
@@ -1,9 +1,7 @@
default_language_version:
python: python3.8
exclude: ^eigency/eigen
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.9.1
hooks:
- id: black
args: [--line-length, "120"]
Expand All @@ -19,14 +17,14 @@ repos:
name: isort (pyi)
types: [pyi]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/bandit
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion MANIFEST.in
Expand Up @@ -7,7 +7,7 @@ exclude .gitignore
exclude .isort.cfg
exclude .pre-commit-config.yaml
exclude CONTRIBUTING.md
include LICENSE.txt
include LICENSE
exclude MANIFEST.in
include pyproject.toml
include README.md
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -14,6 +14,11 @@ data back and forth, and will thus avoid making unnecessary copies
whenever possible. Only in cases where copies are explicitly requested
by your C++ code will they be made.

## Versioning

Eigency uses a 4-number version (`N.N.N.N`) where the first 3 parts correspond to the embedded Eigen library version.
The last part is a revision number of Eigency itself.

## Installing

Eigency is packaged as a source distribution (`sdist`) and available on PyPi.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -74,11 +74,11 @@
"License :: OSI Approved :: MIT License",
"Programming Language :: C++",
"Programming Language :: Cython",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
license="MIT",
author="Wouter Boomsma",
Expand All @@ -97,6 +97,6 @@
include_package_data=True,
package_data={__package_name__: ["*.h", "*.pxd", "*.pyx", join(__eigen_lib_dir__, "*")] + eigen_data_files},
exclude_package_data={__package_name__: [join(__eigen_lib_dir__, "CMakeLists.txt")]},
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=["numpy"],
)

0 comments on commit 7e4269c

Please sign in to comment.