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
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
timeoutInMinutes: 360
strategy:
matrix:
macos_python3.9:
python.version: '3.9'
macos_python3.11:
python.version: '3.11'

steps:
- task: UsePythonVersion@0
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
timeoutInMinutes: 360
strategy:
matrix:
win_python3.9:
python.version: '3.9'
win_python3.11:
python.version: '3.11'

steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for setuptools-scm
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Miniforge3
Expand All @@ -20,9 +22,8 @@ jobs:
- shell: bash -el {0}
name: Install dependencies
run: |
mamba install -y nbmake pytest-xdist line_profiler flake8 pytest
mamba install --file requirements.txt --file requirements-extra.txt
pip install -e .
mamba install -y nbmake pytest-xdist line_profiler flake8 pytest build
pip install -e .[dev]
- shell: bash -el {0}
name: Run pip check
run: |
Expand All @@ -41,7 +42,7 @@ jobs:
name: Build and publish if tagged
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: |
python setup.py sdist
python -m build
pip install twine
twine upload dist/*
env:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ benchmarks/andes
# generated pycode
andes/pycode

# setuptools-scm generated version file
andes/_version.py

# testfile
icebar

Expand Down
3 changes: 0 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ sphinx:

python:
install:
- requirements: requirements.txt
- method: pip
path: .
extra_requirements:
- doc
- method: setuptools
path: .
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.8 and up. Check
3. The pull request should work for Python 3.10 and up. Check
https://github.com/curent/andes/actions
and make sure that the tests pass for all supported Python versions.

Expand Down
21 changes: 0 additions & 21 deletions MANIFEST.in

This file was deleted.

6 changes: 4 additions & 2 deletions andes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from . import _version
__version__ = _version.get_versions()['version']
try:
from andes._version import version as __version__
except ImportError:
__version__ = "0.0.0+unknown"

from andes import io # NOQA
from andes import core # NOQA
Expand Down
Loading
Loading