Package Details: python-croniter 6.2.2-2

Git Clone URL: https://aur.archlinux.org/python-croniter.git (read-only, click to copy)
Package Base: python-croniter
Description: Parses cron schedules to iterate over datetime objects.
Upstream URL: https://github.com/pallets-eco/croniter
Licenses: MIT
Submitter: carsme
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 3
Popularity: 1.03
First Submitted: 2025-10-08 16:05 (UTC)
Last Updated: 2026-04-17 15:00 (UTC)

Latest Comments

lamber414 commented on 2026-04-17 09:56 (UTC) (edited on 2026-04-17 09:59 (UTC) by lamber414)

Hi yochananmarqos, latest version of the package ships a "pyproject.toml" file which hardcodes the dependency to "python-packaging 26.0", while the latest version in the arch repositories is "26.1". This obviously doesn't allow the build process to succeed.

In the meantime that the "pyproject.toml" file is fixed on the github repository, i sketched this quick fix:

diff --git a/.SRCINFO b/.SRCINFO
index 5768975..11f6e79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python-croniter
        pkgdesc = Parses cron schedules to iterate over datetime objects.
        pkgver = 6.2.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/pallets-eco/croniter
        arch = any
        license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index d0d5b27..3499654 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=python-croniter
 _name=${pkgname#python-}
 pkgver=6.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Parses cron schedules to iterate over datetime objects."
 arch=('any')
 url="https://github.com/pallets-eco/croniter"
@@ -19,6 +19,7 @@ makedepends=(
   'python-hatchling'
   'python-installer'
   'python-wheel'
+  'python-packaging'
 )
 checkdepends=('python-pytest')
 source=("https://github.com/pallets-eco/croniter/archive/refs/tags/$pkgver/$pkgname-$pkgver.tar.gz")
@@ -26,6 +27,7 @@ sha256sums=('d405ef6a395bc1340ee3c1ad4237493a4fdb24a5cfce63ee21cf1d5ab17cc377')

 build() {
   cd "$_name-$pkgver"
+  sed -i "s/packaging==/packaging>=/" pyproject.toml
   python -m build --wheel --no-isolation
 }

I'll leave it here in case someone else needs it to build the package or in case you want to push the temporary "fix" to aur.

yochananmarqos commented on 2026-03-20 14:49 (UTC)

@gissf1: When one uses the AUR, one is expected to be up to date with Arch stable. On Manjaro, the equivalent would be the unstable branch.

gissf1 commented on 2026-03-20 05:07 (UTC) (edited on 2026-03-20 05:07 (UTC) by gissf1)

I got this error when attempting to upgrade from python-croniter 6.0.0-1 to 6.2.2-1. The newest python-hatchling I can see in my Manjaro system's repos is only 1.28.0-3. I already had that from before, so it didn't suggest upgrading it when installing. I see there is a pypy3-hatchling 1.29.0-1 in the AUR, but I don't think that's the right solution.

It's not a long build, but maybe it makes sense to add a minimum version check for hatchling in the PKGBUILD, so it can fail earlier if the version is not new enough?

The build for python-croniter fails with this output:

==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
        hatchling==1.29.0
==> ERROR: A failure occurred in build().
    Aborting...

archisman commented on 2025-11-22 19:28 (UTC)

I somehow had some locally installed python packages, removing which fixed the build issue.

yochananmarqos commented on 2025-11-17 16:43 (UTC)

@archisman: It builds just fine in a clean chroot on my end. The missing packages in your log are included build dependencies, so you apparently are mixing system and local Python packages.

Please only flag packages out of date when there's a new upstream release.

archisman commented on 2025-11-12 04:52 (UTC)

Version 6.0.0-2 fails to build

AUR Dependency (1): python-croniter-6.0.0-2
:: PKGBUILD up to date, skipping download: python-croniter
  1 python-croniter                  (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 python-croniter                  (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: python-croniter 6.0.0-2 (Tuesday 11 November 2025 11:52:09 PM)
==> Retrieving sources...
  -> Found python-croniter-6.0.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    python-croniter-6.0.0.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: python-croniter
==> Making package: python-croniter 6.0.0-2 (Tuesday 11 November 2025 11:52:10 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-croniter-6.0.0.tar.gz
==> Validating source files with sha256sums...
    python-croniter-6.0.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python-croniter-6.0.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-croniter 6.0.0-2 (Tuesday 11 November 2025 11:52:11 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running egg_info
creating src/croniter.egg-info
writing src/croniter.egg-info/PKG-INFO
writing dependency_links to src/croniter.egg-info/dependency_links.txt
writing requirements to src/croniter.egg-info/requires.txt
writing top-level names to src/croniter.egg-info/top_level.txt
writing manifest file 'src/croniter.egg-info/SOURCES.txt'
file src/croniter.py (for module croniter) not found
reading manifest file 'src/croniter.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'docs'
warning: no previously-included files matching '*pyc' found anywhere in distribution
adding license file 'LICENSE'
writing manifest file 'src/croniter.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        setuptools>=40.8.0
        packaging>=24.2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-croniter-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-croniter - exit status 4