Skip to content

Commit

Permalink
Support newer python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosal1015 committed Sep 21, 2024
1 parent 97216f8 commit c44cd60
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 12 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: '*'
update-types: ['version-update:semver-patch']
labels: ['dependencies']
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
labels: ["dependencies"]
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8']
python-version: ['3.11', '3.12']
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"

# Optionally set the version of Python and requirements required to build your docs
python:
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.14.2
scipy>=1.3.1
Sphinx>=1.4.3
numpy>=1.26.4
scipy>=1.12.0
Sphinx>=7.2.6
sympy


9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,19 @@ def get_version():
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'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',
],
keywords=['finite-differences', 'numerical-derivatives', 'scientific-computing'],
packages=find_packages(exclude=("tests",)),
package_dir={name: name},
include_package_data=True,
install_requires=['numpy', 'scipy', 'sympy'],
setup_requires=["pytest-runner"],
python_requires=">=3.6",
python_requires=">=3.8",
tests_require=["pytest"],
platforms=['ALL'],
)

0 comments on commit c44cd60

Please sign in to comment.