Skip to content

Commit

Permalink
Merge pull request PSLmodels#2801 from martinholmer/drop-py39
Browse files Browse the repository at this point in the history
Drop support for Python 3.9
jdebacker authored Sep 10, 2024
2 parents 3e99595 + 41044b3 commit 797bb52
Showing 8 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Package and Test Source Code [Python 3.9, 3.10, 3.11, 3.12]
name: Build Package and Test Source Code [Python 3.10, 3.11, 3.12]

on: [push, pull_request]

@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.9, '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']

steps:
- name: Checkout
2 changes: 1 addition & 1 deletion .github/workflows/check_jupyterbook.yml
Original file line number Diff line number Diff line change
@@ -26,4 +26,4 @@ jobs:
pip install -e .
python docs/guide/make/make_uguide.py
cd docs
jb build .
jb build .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
| | |
| --- | --- |
| Org | [![PSL cataloged](https://img.shields.io/badge/PSL-cataloged-a0a0a0.svg)](https://www.PSLmodels.org) [![OS License: CCO-1.0](https://img.shields.io/badge/OS%20License-CCO%201.0-yellow)](https://github.com/PSLmodels/Tax-Calculator/blob/master/LICENSE) [![Jupyter Book Badge](https://jupyterbook.org/badge.svg)](https://pslmodels.github.io/Tax-Calculator/) |
| Package | [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-3916/) [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3108/) [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3118/) [![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3121/) [![PyPI Latest Release](https://img.shields.io/pypi/v/taxcalc.svg)](https://pypi.org/project/taxcalc/) [![PyPI Downloads](https://img.shields.io/pypi/dm/taxcalc.svg?label=PyPI%20downloads)](https://pypi.org/project/taxcalc/) [![Anaconda](https://img.shields.io/conda/dn/conda-forge/taxcalc?color=brightgreen&label=downloads&logo=conda-forge)](https://anaconda.org/conda-forge/taxcalc)|
| Package | [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3108/) [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3118/) [![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3121/) [![PyPI Latest Release](https://img.shields.io/pypi/v/taxcalc.svg)](https://pypi.org/project/taxcalc/) [![PyPI Downloads](https://img.shields.io/pypi/dm/taxcalc.svg?label=PyPI%20downloads)](https://pypi.org/project/taxcalc/) [![Anaconda](https://img.shields.io/conda/dn/conda-forge/taxcalc?color=brightgreen&label=downloads&logo=conda-forge)](https://anaconda.org/conda-forge/taxcalc)|
| Testing | ![example event parameter](https://github.com/PSLmodels/Tax-Calculator/actions/workflows/build_and_test.yml/badge.svg?branch=master) ![example event parameter](https://github.com/PSLmodels/Tax-Calculator/actions/workflows/deploy_jupyterbook.yml/badge.svg?branch=master) [![Codecov](https://codecov.io/gh/PSLmodels/Tax-Calculator/branch/master/graph/badge.svg)](https://codecov.io/gh/PSLmodels/Tax-Calculator) |


4 changes: 2 additions & 2 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ build:

requirements:
build:
- "python>=3.9, <3.13"
- "python>=3.10, <3.13"
- "numpy>=1.26,<1.27"
- "pandas>=2.2"
- "bokeh>=2.4"
@@ -19,7 +19,7 @@ requirements:
- behresp

run:
- "python>=3.9, <3.13"
- "python>=3.10, <3.13"
- "numpy>=1.26,<1.27"
- "pandas>=2.2"
- "bokeh>=2.4"
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: taxcalc-dev
channels:
- conda-forge
dependencies:
- "python>=3.9, <3.13"
- "python>=3.10, <3.13"
- "numpy>=1.26,<1.27"
- "pandas>=2.2"
- "bokeh>=2.4"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -34,7 +34,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
7 changes: 7 additions & 0 deletions taxcalc.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -19,6 +19,13 @@ Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: setuptools
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: bokeh
Requires-Dist: numba
Requires-Dist: requests
Requires-Dist: paramtools>=0.18.3

| | |
| --- | --- |
2 changes: 1 addition & 1 deletion taxcalc.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -4,4 +4,4 @@ pandas
bokeh
numba
requests
paramtools
paramtools>=0.18.3

0 comments on commit 797bb52

Please sign in to comment.