debian编译安装python3.8_Python/Python3.8

Python 3.8 help page

Debian Bugs

Please usertag new bugs:

User: debian-python@lists.debian.org

Usertags: python3.8

Common packaging issues

This is a list of things to watch out in in packaging:The include path for 3.8 is now /usr/include/python3.8 (without the m modifier). Some packages need adjustment. Lintian should warn about that.

The name for extensions dropped the m modifier as well. Needs adjustment in some .install files. If you have both extensions for the normal interpreter and the debug interpreter, then it becomes tricky to ship the correct extension in the correct package. Just pattern matching on .cpython*d*.so doesn't make the kfreebsd and hurd maintainers happy. An alternative might be to use pybuild and PYBUILD_NAME=foo, however this usually installs too many files than wanted, and the packaging needs more adjustments.

The package has a build dependency on python3-all-dev, but doesn't build for all supported Python3 versions.

The package loops over all supported Python3 versions, but doesn't respect the error code, and only ships extensions for a subset.

When running tests, pybuild stops after the first Python3 version for failures, so you cannot see if you run in a general issue, or into a 3.8 specific issues. See issue #943334.

Common upstream issues

Deprecation warnings DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats in expected test results, or on stderr in autopkg tests.

Trying to modify a dictionary while iterating over it now raises an exception.

Some upstreams already stopped, or are stopping to support both 2.7 and 3.8 in the same version. In this case, have two source source packages, one building for Python2, the other building for Python3. Already done for numpy and scipy, will be needed for the next pillow release.

Embedding Python: modules are not linked with libpython3.8 anymore, but programs that embed Python still need to link with it. When configuring such programs, --embed must be passed to python3-configure. Earlier versions of python3-configure do not support this option. Failing that, errors will occur at link-time (usually part of compile-time, but sometimes part of run-time).

Online Resources

FAQ

Please add ...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值