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

Compatibility with Python 3.12? #132

Open
jdebacker opened this issue Feb 20, 2024 · 0 comments
Open

Compatibility with Python 3.12? #132

jdebacker opened this issue Feb 20, 2024 · 0 comments

Comments

@jdebacker
Copy link
Member

When trying to run taxcalc (tc --test in the command line) on Python 3.12, I ran into the following error, which seems to implicate ParamTools:

Traceback (most recent call last):
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/bin/tc", line 6, in <module>
    from taxcalc.cli.tc import cli_tc_main
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/taxcalc/__init__.py", line 4, in <module>
    from taxcalc.calculator import *
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/taxcalc/calculator.py", line 13, in <module>
    import paramtools
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/paramtools/__init__.py", line 1, in <module>
    from paramtools.schema_factory import SchemaFactory
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/paramtools/schema_factory.py", line 3, in <module>
    from paramtools.schema import (
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/paramtools/schema.py", line 13, in <module>
    from paramtools.exceptions import UnknownTypeException, ParamToolsError
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/paramtools/exceptions.py", line 4, in <module>
    from paramtools import utils
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/paramtools/utils.py", line 7, in <module>
    import fsspec
  File "/Users/jason.debacker/anaconda3/envs/taxcalc-dev/lib/python3.12/site-packages/fsspec/__init__.py", line 43, in <module>
    for spec in entry_points.get("fsspec.specs", []):
                ^^^^^^^^^^^^^^^^
AttributeError: 'EntryPoints' object has no attribute 'get'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant