From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6ED9JHVMaGf1BwEAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 17:29:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6ED9JHVMaGf1BwEAe85BDQ (envelope-from ) for ; Sun, 22 Dec 2024 18:29:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uy+sPgPl; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZuUG7/m6"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734888564; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9+1gNxybBX7iDucvE+6vfE229hZAm85dJFAQfPAtQtk=; b=M7CQWSjXNtLJhiyjuHBCFrMHxn3iK3Lv/tSXmrLhJdx5cjh6E+oGti2FADMr8v53a7XezV gOTrtbEOt1Eni5AL2ytWdQOX34fyW3yzyjjzn5gg1GRSSyksLui21wAyRJGCncaB+b4TnV 3kt0k8LbmcccdiEKJ904+kDW6B93xKTrocAHQezIbot/CnvdJm0KlPDbQcH6SL3ZWuRHWe q0aVAg62T0cxtxSVBGoSJtY4Cq+14vaFvLX+IkmJmRKpgXFLvO9NVNJAlNnasT8DVZnd9R WACw+yMGmhIhpAEL0unei0Pi0YbqEptgzs/0/bgqsa4OsSgLA8ev2YwYec/3xQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uy+sPgPl; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="ZuUG7/m6"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734888564; a=rsa-sha256; cv=none; b=qjVvvawoYYKg5jFn8eOyZ5uFON9WJzvUprObNosfDGEevuBhi66Ix5UQxmwVzgJkB1LhlU AuSaseo3Wk9RClixx6xGMMjuf92Mbp9w7Wxm5SpGhcSaHf6hX0Gz6GDhxu2EYENaS5GBXN PQqhm8ExxLHTJrxGRzpVg+om0yArGMt5iMANgakpt4MZnyKYqRsIoZsiLctQZQMiTS/0Mh vPNUg3/MCaDQSGJWDRMmxZbdYcc0kxzi18NMGGzdPeKeL/fbiVyVA38Dhmjw5ADgILnw4J 7yRoVbTRnu0Fnib28bRCXbBhT4lESkZU8XL1pSvpXKuve/PJzcTUWdVJBO1eaA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 95D45A16AA for ; Sun, 22 Dec 2024 18:29:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPkQ-0006mi-Fn; Sun, 22 Dec 2024 12:28:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPPkL-0006ka-7a for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPPkK-0001wu-Vn for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=9+1gNxybBX7iDucvE+6vfE229hZAm85dJFAQfPAtQtk=; b=uy+sPgPlemTN+hHqJ61nVF/hArm0Bihm44ILwvc13K4rBdIiy8arbXf+Fzj5f7qnE8hUo5msrg+CibLf23WEtHT3BFieYw7QWqObCX2n16bOSYSTsuu5qHtbl5/I+j8eo2mmMudvKuGapDU3QjYw9HSBENsnoP9Bbormw28z2qi44bEaCdZV0XQHENxOej4Fdi+xlSCwX4YgqomxUGdWsRNr0g2QphShrC+YAy0YAtrbfPVfEfdxou0HNWKZROCe6BAwkEEYt26IfBNuCra5IOpAhSSwMgPNIqU9Uw1awC666Jdwks3ZJwgmJhkBX3dEU/vpoZsW4QMI6I61wyZ/kA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPPkK-0007rm-Ok for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75032] [PATCH 05/13] gnu: Add python-pytz-deprecation-shim. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 17:28:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75032@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 75032-submit@debbugs.gnu.org id=B75032.173488845430062 (code B ref 75032); Sun, 22 Dec 2024 17:28:04 +0000 Received: (at 75032) by debbugs.gnu.org; 22 Dec 2024 17:27:34 +0000 Received: from localhost ([127.0.0.1]:51733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPjp-0007on-Nh for submit@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPjk-0007nw-Fi for 75032@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 17E45240027 for <75032@debbugs.gnu.org>; Sun, 22 Dec 2024 18:27:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734888443; bh=fSFJZ0hT7CyzNn/71uocEq3CzWrkauTmmLD1dCIIMPw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ZuUG7/m6KNqPfeOgA9MdCOco6H9YZU0xNNhy25UCKMX5YRrSMbdWsa5wP8OMJ7NH6 c+O1dPdOx3VC5w2MWULKR0eEfASD2sQ94gKnLi6TPPVUAPO0e5ZCyIGne5QcqzQSlv SyzGJ5BKM2xJQNylFzSXOzhzOVOuwGL7qDXE/UKFPkg6szHfBsA1b+DGsSxucVVYhU yHsXQ9V72GHyPnxa6XYu4vtAo48VABbFOYXJ8X7P3ncXApf2kWTR45Ulywf/icX53j cYUTZR1sIeMNkfkE/jW9s4SOPCJve/EM5sILUgnWlEdF6Q06Z9X5ag5wDr3xxZoNkF mwaSQfNgnRhvA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGSlG1h8dz9rxG; Sun, 22 Dec 2024 18:27:21 +0100 (CET) From: Vinicius Monego Date: Sun, 22 Dec 2024 17:26:49 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.88 X-Spam-Score: -2.88 X-Migadu-Queue-Id: 95D45A16AA X-Migadu-Scanner: mx10.migadu.com X-TUID: ZC9rzhmdPZFL * gnu/packages/time.scm (python-pytz-deprecation-shim): New variable. Change-Id: I481ea9818444d9a14efcf7b11d44c68a5f2fec3f --- gnu/packages/time.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index f1aeae7340..0d84dee178 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2024 Liliana Marie Prikler ;;; Copyright © 2024 Sharlatan Hellseher ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -169,6 +170,31 @@ (define-public python-tzdata (description "This package provides a thin Python wrapper around tzdata.") (license asl2.0))) +(define-public python-pytz-deprecation-shim + (package + (name "python-pytz-deprecation-shim") + (version "0.1.0.post0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytz_deprecation_shim" version)) + (sha256 + (base32 "17d58msbi18dc4lk29hcrgylvrv9vhniwi24axfdwvb13fp7n2dg")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-dateutil python-tzdata)) + (native-inputs (list python-pytest + python-pytz + python-setuptools + python-wheel)) + (home-page "https://github.com/pganssle/pytz-deprecation-shim") + (synopsis "Shims to make deprecation of pytz easier") + (description + "This package aims to make the transition away from @code{pytz} easier. +It is intended for temporary usage only, and should allow you to drop your +dependency on @code{pytz} while also giving your users notice that eventually +you will remove support for the pytz-specific interface.") + (license asl2.0))) + (define-public python-pytz (package (name "python-pytz") -- 2.39.5