ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Cc: python@packages.altlinux.org,
	Grigory Ustinov <grenka@altlinux.org>,
	Vitaly Lipatov <lav@altlinux.org>,
	Anton Vyatkin <toni@altlinux.org>
Subject: Re: [devel] [#321689] TESTED (try 3) python3-module-zope.exceptions.git=4.6-alt2 ...
Date: Wed, 24 May 2023 12:48:05 +0300 (MSK)
Message-ID: <alpine.LFD.2.20.2305241240300.2635@imap.altlinux.org> (raw)
In-Reply-To: <alpine.LFD.2.20.2305241232170.2635@imap.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

On Wed, 24 May 2023, Ivan Zakharyaschev wrote:

> Я не проверял, но есть опасения, что импорт этих модулей не будет работать 
> при такой упаковке. Раньше так было. А цель -- что пофиксить? Только 
> красоту упаковки?

Они в zope заводят настоящий namespace package (zope без __init__.py), а 
не старый добрый модуль. А мы добавляем __init__.py, чтобы оно 
обрабатывалось как модуль. Просто у нас rpm-build-python3 не умел их 
понимать (namespace packages), хотя они появились с Python 3.3: не генерил 
Provides для того, что ниже в дереве; про Requires не помню. Ради 
исправления этого клался __init__.py в ALT.

Но когда лежит __init__.py, python не ищет подмодули по разным директориям 
(arch, noarch), а только под директорией, где лежит __init__.py.

Такова была ситуация раньше. И я бы советовал внимательно это проверить. 

  reply	other threads:[~2023-05-24  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24  9:35     ` Ivan Zakharyaschev
2023-05-24  9:48       ` Ivan Zakharyaschev [this message]
2023-05-30  1:15       ` Ivan Zakharyaschev
2023-05-30  1:26         ` Ivan Zakharyaschev
2023-05-30 10:21             ` Ivan Zakharyaschev
2023-05-30 10:53             ` Stanislav Levin
2023-05-30 11:54           ` Stanislav Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.20.2305241240300.2635@imap.altlinux.org \
    --to=imz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=grenka@altlinux.org \
    --cc=lav@altlinux.org \
    --cc=python@packages.altlinux.org \
    --cc=toni@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git