Skip to content

Commit

Permalink
python v3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zchmielewska committed Nov 25, 2024
1 parent 326de19 commit 3d16702
Show file tree
Hide file tree
Showing 32 changed files with 10 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip setuptools Cython numpy==1.21.1 --no-cache-dir
python -m pip install --upgrade pip setuptools Cython numpy
- name: Build Cython extensions
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
run: |
python -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip setuptools Cython numpy==1.21.1
python -m pip install --upgrade pip setuptools Cython numpy
- name: Build source distribution
run: |
Expand All @@ -66,7 +66,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install Cython
python -m pip install numpy==1.21.1
python -m pip install numpy
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]

steps:
- name: Checkout
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@

Cashflower is an open-source Python framework for actuarial cash flow models.

# Prerequisites

Python version >=3.9

# Usage

## Installation

*terminal*
Expand Down Expand Up @@ -43,6 +37,8 @@ my_model/

*my_model/model.py*
```python
from cashflower import variable

@variable()
def survival_probability(t):
mortality_rate = 0.01
Expand Down
Empty file added dev_models/__init__.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Cython==3.0.2
furo==2023.9.10
networkx==3.1
numpy==1.21.1
numpy==2.0.1
pandas==2.2.2
psutil==5.9.5
pytest==7.4.2
ruff==0.0.291
setuptools==73.0.1
Sphinx==7.2.6
wheel==0.44.0
wheel==0.44.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'pandas',
'psutil',
'networkx',
'numpy==1.21.1'
'numpy'
],
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -38,7 +38,7 @@
'Documentation': 'https://cashflower.acturtle.com',
'Cheat sheet': 'https://www.acturtle.com/static/pdf/cheat_sheet.pdf',
},
python_requires='>=3.9',
python_requires='>=3.11',
url="https://github.com/acturtle/cashflower",
version="0.9.1",
)

0 comments on commit 3d16702

Please sign in to comment.