#2357 Python 2 exception (build-time-only) for ardour5
Closed: Accepted 11 months ago by zbyszek. Opened a year ago by tartina.

I would like to request an exception that allows the ardour5 package to use Python 2 during buildtime only. There are no other dependencies needed beside the Python interpreter. The dependency is not needed at runtime (because it is only used for the build system WAF) and will not affect end users at all.

  • What is the reason for the Python 2 build dependency?

Python 2 is used for the WAF build system. The build system is incompatible with Python 3.

  • What are the upstream/community plans/timelines regarding Python 2?
  • What is the guidance for porting the build to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?)

Ardour is under heavy refactoring. Because of this, there haven't been new releases for 2 years, but the new code is not producion ready. The buld system has been ported to Python 3, the next release will be Python 3 compatible.


Metadata Update from @churchyard:
- Issue tagged with: python 2 exception

a year ago

It seems that currently, the old version of waf seems to be included as a binary blob, and this is also the case in upstream master: https://github.com/Ardour/ardour/blob/master/waf#L171

Will this be unbundled?

It seems that currently, the old version of waf seems to be included as a binary blob, and this is also the case in upstream master: https://github.com/Ardour/ardour/blob/master/waf#L171
Will this be unbundled?

Usually WAF projects bundle it in the source code. I thonk Ardour build system contains some additional modules, autowaf for example.
IMHO there is no need to unbundle waf, because it will not be copied to the generated RPMs.

Metadata Update from @churchyard:
- Issue tagged with: pending announcement

11 months ago

Metadata Update from @zbyszek:
- Issue untagged with: pending announcement
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

11 months ago

Login to comment on this ticket.

Metadata