You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fedora is preparing for the next Python release and currently testing packages with Python 3.13.0b1. It turns out one of the tests is failing with Python 3.13. I'm not entirely sure if this is an issue with bioframe or with pandas. I'm reporting it here as a starting point and for awareness. We are using version 2.2.1 of pandas.
______________________________test_assembly_info______________________________deftest_assembly_info():
>hg38=assembly_info("hg38")
tests/test_assembly_info.py:15:
________________________________________
../../BUILDROOT/python-bioframe-0.6.4-1.fc41.x86_64/usr/lib/python3.13/site-packages/bioframe/io/assembly.py:144: inassembly_inforesult=assemblies.query(q)
/usr/lib64/python3.13/site-packages/pandas/core/frame.py:4811: inqueryres=self.eval(expr, **kwargs)
/usr/lib64/python3.13/site-packages/pandas/core/frame.py:4937: inevalreturn_eval(expr, inplace=inplace, **kwargs)
/usr/lib64/python3.13/site-packages/pandas/core/computation/eval.py:328: inevalenv=ensure_scope(
/usr/lib64/python3.13/site-packages/pandas/core/computation/scope.py:58: inensure_scopereturnScope(
________________________________________self=<[AttributeError("'Scope' object has no attribute 'resolvers'") raisedinrepr()] Scopeobjectat0x7f3716c1aa70>level=4, global_dict=None, local_dict=Noneresolvers= ({'cytobands': 0hg19.cytoband.tsv1hg19.cytoband.tsv2hg38.cytoband.tsv3hg38.cytoband.tsv4 ... 78899101011111212131314141515161617171818dtype: int64})
target=Nonedef__init__(
self, level: int, global_dict=None, local_dict=None, resolvers=(), target=None
) ->None:
self.level=level+1# shallow copy because we don't want to keep filling this up with what# was there before if there are multiple calls to Scope/_ensure_scopeself.scope=DeepChainMap(DEFAULT_GLOBALS.copy())
self.target=targetifisinstance(local_dict, Scope):
self.scope.update(local_dict.scope)
iflocal_dict.targetisnotNone:
self.target=local_dict.targetself._update(local_dict.level)
frame=sys._getframe(self.level)
try:
# shallow copy here because we don't want to replace what's in# scope when we align terms (alignment accesses the underlying# numpy array of pandas objects)scope_global=self.scope.new_child(
(global_dictifglobal_dictisnotNoneelseframe.f_globals).copy()
)
self.scope=DeepChainMap(scope_global)
ifnotisinstance(local_dict, Scope):
scope_local=self.scope.new_child(
> (local_dictiflocal_dictisnotNoneelseframe.f_locals).copy()
)
EAttributeError: 'FrameLocalsProxy' objecthasnoattribute'copy'/usr/lib64/python3.13/site-packages/pandas/core/computation/scope.py:176: AttributeError
The text was updated successfully, but these errors were encountered:
Fedora is preparing for the next Python release and currently testing packages with Python 3.13.0b1. It turns out one of the tests is failing with Python 3.13. I'm not entirely sure if this is an issue with
bioframe
or withpandas
. I'm reporting it here as a starting point and for awareness. We are using version 2.2.1 ofpandas
.The text was updated successfully, but these errors were encountered: