Skip to content

Commit e9e7a35

Browse files
MaxGhenisclaude
andcommitted
Remove all taxcalc functionality and dependencies
- Remove taxcalc from pyproject.toml optional dependencies - Delete microdf/taxcalc.py module - Delete microdf/tests/test_taxcalc.py - Remove taxcalc imports and exports from microdf/__init__.py - Remove taxcalc from _optional.py VERSIONS dict This removes all taxcalc-specific functionality from the microdf package. Documentation notebooks that demonstrate taxcalc integration may need updates in a follow-up commit. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2d47df8 commit e9e7a35

5 files changed

Lines changed: 1 addition & 205 deletions

File tree

microdf/__init__.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@
4747
squared_poverty_gap,
4848
)
4949
from .tax import mtr, tax_from_mtrs
50-
from .taxcalc import (
51-
add_weighted_metrics,
52-
calc_df,
53-
n65,
54-
recalculate,
55-
static_baseline_calc,
56-
)
5750
from .ubi import ubi_or_bens
5851
from .utils import (
5952
cartesian_product,
@@ -129,12 +122,6 @@
129122
# tax.py
130123
"mtr",
131124
"tax_from_mtrs",
132-
# taxcalc.py
133-
"static_baseline_calc",
134-
"add_weighted_metrics",
135-
"n65",
136-
"calc_df",
137-
"recalculate",
138125
# ubi.py
139126
"ubi_or_bens",
140127
# utils.py

microdf/_optional.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
# Adapted from:
88
# https://github.com/pandas-dev/pandas/blob/master/pandas/compat/_optional.py
99

10-
VERSIONS = {
11-
"taxcalc": "2.0.0",
12-
}
10+
VERSIONS = {}
1311

1412

1513
def _get_version(module: types.ModuleType) -> str:

microdf/taxcalc.py

Lines changed: 0 additions & 161 deletions
This file was deleted.

microdf/tests/test_taxcalc.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ dev = [
3434
docs = [
3535
"jupyter_book",
3636
]
37-
taxcalc = [
38-
"taxcalc",
39-
]
4037

4138
[tool.setuptools.packages.find]
4239
where = ["."]

0 commit comments

Comments
 (0)