Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@ updates:
prefix: "pip prod"
prefix-development: "pip dev"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
# Add assignees
assignees:
- "mloubout"
commit-message:
prefix: "gh"
prefix-development: "gh dev"
include: "scope"
16 changes: 8 additions & 8 deletions .github/workflows/pytest-core-nompi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
os: ubuntu-22.04
arch: "gcc-11"
language: "CXX"
sympy: "1.11"
sympy: "1.14"

- name: pytest-ubuntu-py312-gcc12-cxxomp
python-version: '3.12'
Expand All @@ -61,14 +61,14 @@ jobs:
os: ubuntu-24.04
arch: "gcc-14"
language: "openmp"
sympy: "1.9"
sympy: "1.12"

- name: pytest-ubuntu-py310-gcc10-noomp
python-version: '3.10'
os: ubuntu-22.04
arch: "gcc-10"
language: "C"
sympy: "1.11"
sympy: "1.14"

- name: pytest-ubuntu-py312-gcc13-omp
python-version: '3.12'
Expand All @@ -82,28 +82,28 @@ jobs:
os: ubuntu-22.04
arch: "custom"
language: "openmp"
sympy: "1.10"
sympy: "1.12"

- name: pytest-osx-py312-clang-omp
python-version: '3.12'
os: macos-latest
arch: "clang"
language: "openmp"
sympy: "1.13"
sympy: "1.12"

- name: pytest-docker-py39-gcc-omp
python-version: '3.9'
os: ubuntu-latest
arch: "gcc"
language: "openmp"
sympy: "1.12"
sympy: "1.13"

- name: pytest-docker-py39-icx-omp
python-version: '3.9'
os: ubuntu-latest
arch: "icx"
language: "openmp"
sympy: "1.12"
sympy: "1.13"

- set: base
test-set: 'not adjoint'
Expand Down Expand Up @@ -163,8 +163,8 @@ jobs:
if: "!contains(matrix.name, 'docker')"
run: |
python3 -m pip install ${{ env.PIPFLAGS }} --upgrade pip
python3 -m pip install ${{ env.PIPFLAGS }} sympy==${{matrix.sympy}}
python3 -m pip install ${{ env.PIPFLAGS }} -e .[tests,extras]
python3 -m pip install ${{ env.PIPFLAGS }} sympy==${{matrix.sympy}}

- name: Check configuration
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine==5.0.0
python -m pip install --upgrade pip build twine
- name: Build and publish
- name: Build distribution artifacts
run: |
# this will read pyproject.toml and produce both sdist and wheel in dist/
python -m build --sdist --wheel
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
4 changes: 1 addition & 3 deletions devito/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
from devito.mpatches import * # noqa


from ._version import get_versions # noqa
__version__ = get_versions()['version']
del get_versions
from ._version import version as __version__ # noqa


def reinit_compiler(val):
Expand Down
Loading
Loading