From nobody Mon Nov 20 08:30:03 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SYgg04s5fz527j7 for ; Mon, 20 Nov 2023 08:30:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYgg00WVPz4qRg for ; Mon, 20 Nov 2023 08:30:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700469004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J5ErmKrmEPwuYuOs60xWUpDNKfqzjSaYOMqsjMlsxBA=; b=KpHB8ZyFxkQOoYbrwjrKfQV5gQHsCSaLldn97tJ6o8VNM/PhFdmnIKLaThW+6pZ6nwS5j1 4Uh/1UO1OhPznSnzTEu88zuGfVdnDHT/YImb0oZe41VCJF2fZA6WrmulZ6OEVEP3M+uOX9 1nJbQYAJ4eMuIMLyUT7IPGuoDPlYsTHNBByx2q8Ep+vtHmEaeNZr0Uj9EQ58RH71jVkvRz nHIaA3+jSZHojytnLZ/KtbIH5F2Q+TZ9hSLXyAo3e9sGbLg5XI3ffb6/Xj8BxhJfTqE7QZ qqoAN4jHebk3FQ2ubPclt2t7pqXOllH30SjEoTh8xMV2s8NxBgqxkG3MS8UjGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700469004; a=rsa-sha256; cv=none; b=L/NdyR20bt9DZoJ/01YaM1YZF0woLAD7LJe2CJQB03O9tSm/fltvQ21MpNizAk/61Qqhwh DjtaN1jCNzMic56oFRdsN/aCHB4xeRs/hy2uWX6UsoyxPCK7jPIGAqsEqyo+hKlqtP5AAY Ikyf8vzlurEMIuis+dSyCgtfiiHlZ7JTz1Uf8SVm5EQROSFANGE/7Lbfg+Dh0OTi46Wjo9 l2RkL/ENsznCzKaIiPrDgIjtgK9QnPhuzpyboRCVAKEHJ7MLEEyJufvRFJN/O35WP98trl h4hRcOEJY1/tDhRMXmdDKhislWaxXQ2M90jZZJSLpddV61vkIhPAlfNHTtfREQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYgfz6kF4zlFl for ; Mon, 20 Nov 2023 08:30:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AK8U3RM074170 for ; Mon, 20 Nov 2023 08:30:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AK8U3mj074169 for ports-bugs@FreeBSD.org; Mon, 20 Nov 2023 08:30:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275167] security/py-service-identity: merge duplicate of security/py-service_identity Date: Mon, 20 Nov 2023 08:30:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275167 --- Comment #8 from John Hein --- (In reply to Palle Girgensohn from comment #6) The package indeed installs to site-packages/service_identity. Installing = to site-packages/service-identity breaks when you do 'import service-identity' since identifier names cannot include hyphens. There are ways to import modules if the directory name has hyphens, but it's better if you don't do = so. PyPI package names are another story. You can use hyphens there although so= me style guides recommend just using alphabetic lowercase (see 'Package and Mo= dule Names' PEP 8). There are lots of package names that use uppercase and hyphe= ns at pypi.org that do not follow that guideline, however - see https://packaging.python.org/en/latest/specifications/name-normalization/ (which allows underscores and hyphens and uppercase). Maybe I am misreading PEP 8 (specifically what is considered a "package name"). But note that af= ter the "name normalization" described in the 'Python Packaging User Guide', na= mes with hyphens and underscores are considered equal in certain contexts (e.g., when provided to importlib.metadata functions). --=20 You are receiving this mail because: You are the assignee for the bug.=