Opened 17 months ago

Last modified 5 months ago

#30534 closed enhancement

Repackage pynac as a pip-installable package — at Version 2

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords: pynac, sd110, sd111
Cc: rws, slelievre, gh-tobiasdiez, was, fbissey, tscrim, gh-kliem, vdelecroix, embray Merged in:
Authors: Reviewers:
Report Upstream: Reported upstream. No feedback yet. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

Pynac has a compile-time dependency on the Python library but is not installed using Python package infrastructure. This is problematic because Python users cannot install it using standard Python tools - for example for testing different Python versions.

It would make sense for src/sage/libs/pynac/pynac.pxd and pynac_wrap.h to be shipped with this Python package, introducing a dependency on Cython. (The only thing blocking this is from sage.libs.gmp.types cimport mpz_t, mpq_t, mpz_ptr, mpq_ptr - but that can be fixed by some minimal cut&paste.)

(The other parts of src/sage/libs/pynac, constant.pxd, constant.pyx, pynac.pyx use various imports from sage and must remain in sage.libs.pynac)

Change History (2)

comment:1 Changed 16 months ago by slelievre

  • Cc rws slelievre added
  • Description modified (diff)
  • Keywords pynac added

Cc-ing Ralf Stephan who maintains Pynac.

comment:2 Changed 16 months ago by mkoeppe

  • Description modified (diff)
Note: See TracTickets for help on using tickets.