Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.2.0 #82

Merged
merged 14 commits into from
Sep 11, 2023
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.ci.txt ]; then pip install -r requirements.ci.txt; fi
pip install flake8 pytest
pip install pytest-cov
pip install coveralls
pip install -e .
pip install -e .[ci]

- name: Lint with flake8
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install wheel twine build
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
python3 -m build
python3 -m twine upload --repository pypi dist/*
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ maintainers = [
{ name = "Davíd Brakenhoff", email = "[email protected]" },
]
requires-python = ">= 3.7"
dependencies = ["numpy>=1.12", "scipy>=0.19", "numba>=0.39", "matplotlib>=3.0"]
dependencies = ["numpy>=1.20", "scipy>=0.19", "numba>=0.39", "matplotlib>=3.0"]

keywords = ["hydrology", "groundwater", "model", "analytic element method"]
classifiers = [
Expand Down Expand Up @@ -46,8 +46,11 @@ documentation = "http://mbakker7.github.io/timml/docs/builddocs/html/index.html"
[project.optional-dependencies]
ci = [
"pytest>=4.6",
"pytest-cov",
"jupyter>=1.0.0",
"shapely",
"flake8",
"coveralls",
]

[tool.setuptools]
Expand Down