Error installing python-croniter

How to fix this?

$ yay -S python-croniter
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 (Saturday 22 November 2025 01:35:00 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 (Saturday 22 November 2025 01:35:01 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 (Saturday 22 November 2025 01:35:02 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

comment from the packager :thinking:

I saw that comment from the packager and it does not make sense to me as I have updated dependencies

According to the packager you seem to have a mix of system and locally installed python packages from outside the official repositories.

This may be the reason why you have issue with installing this new one.

I somehow had some locally installed python packages (installed via pip install package –user). Removing them solved the issue.

Thank you all for your feedback