Skip to content

Commit

Permalink
support python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
masonproffitt committed Oct 16, 2024
1 parent 8381186 commit 8aef6df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions func_adl_uproot/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ def generate_python_source(ast, function_name='run_query'):

def generate_function(ast, function_name='run_query'):
source = generate_python_source(ast)
exec(source)
return eval(function_name)
captured_locals = dict()
exec(source, None, captured_locals)
return eval(function_name, None, captured_locals)
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=['tests']),
python_requires=('>=3.8, <3.13'),
python_requires=('>=3.8, <3.14'),
install_requires=[
'awkward>=2.0.9',
'dask-awkward>=2023.8.1',
'func-adl>=3.2.7',
'func-adl>=3.2.7, !=3.3.1, !=3.3.2, !=3.3.3',
'numpy',
'qastle>=0.17.0',
'qastle>=0.18.0',
'uproot>=5',
'vector>=1.1.0',
],
Expand Down

0 comments on commit 8aef6df

Please sign in to comment.