Skip to content

rpaframework-recognition: numpy<2.0.0 constraint breaks installation on Python 3.13 #1331

@burhanakalin

Description

@burhanakalin

Environment

  • rpaframework-recognition: 8.0.0
  • Python: 3.13
  • OS: Windows
  • pip: 26.x

Problem

Installing rpaframework-recognition==8.0.0 on Python 3.13 fails because it
requires numpy<2.0.0, but numpy 1.x has no prebuilt wheel for Python 3.13.

pip then attempts to compile numpy from source, which fails unless Visual Studio
Build Tools are installed:

ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ...]
WARNING: Failed to activate VS environment: Could not find vswhere.exe

Root Cause

The constraint in rpaframework-recognition's metadata:

Requires: numpy<2.0.0,>=1.19.3

numpy 1.26.4 is the last 1.x release and has no CPython 3.13 wheel on PyPI.

Expected Behavior

The constraint should be relaxed to numpy>=1.19.3 (without the upper bound),
as numpy 2.x maintains backward compatibility for standard array operations
used in image recognition.

Workaround

pip install numpy>=2.0.0
pip install rpaframework-recognition==8.0.0 --no-deps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions