Skip to content

mathics3 9.0.0 does not support to setuptools>=82 #1761

@cxzhong

Description

@cxzhong

Description

Since the setuptools>82 remove pkg_resource. Then when we run mathics(nu).BesselK(x).N(20) can not got the correct result

How to Reproduce and Output Given

 sage: def math_bessel_K(nu, x):
 ....:     return mathics(nu).BesselK(x).N(20)
 sage: math_bessel_K(2,I)                      # optional - mathics

Then we got

CompoundExpression[2.7182818284590452354 ^ (-1.0000000000000000000 internals`bessel`u$1) / internals`bessel`u$1 ^ 1.0000000000000000000, internals`bessel`While[True, CompoundExpression[0.50000000000000000000, (-1.0000000000000000000 2.7182818284590452354 ^ (-1.0000000000000000000 internals`bessel`u$1) / internals`bessel`u$1 ^ 2.0000000000000000000 - 1.0000000000000000000 2.7182818284590452354 ^ (-1.0000000000000000000 internals`bessel`u$1) / internals`bessel`u$1 ^ 1.0000000000000000000) / internals`bessel`u$1 ^ 1.0000000000000000000]], 1.7317959997692363070 - 0.37745896303183014917 I]

Expected behavior

-2.5928861754911969782 + 0.18048997206696202663 I

Your Environment

mathics3 9.0.0 sage 10.9 beta8

Workarounds

Priority

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions