Skip to content

fix: upgrade numpy version to resolve cython build failure#35

Open
samay871 wants to merge 1 commit into
FOSSEE:masterfrom
samay871:fix/numpy-cython-build-error
Open

fix: upgrade numpy version to resolve cython build failure#35
samay871 wants to merge 1 commit into
FOSSEE:masterfrom
samay871:fix/numpy-cython-build-error

Conversation

@samay871

Copy link
Copy Markdown

Description

Fixed the Docker build failure caused by the incompatibility between the existing NumPy version and newer Cython releases.

Problem

The development environment setup was failing during the dependency installation step while building the Django and Celery Docker images.

The issue was caused by the outdated NumPy dependency:
numpy==1.18.4

This version allows incompatible Cython versions to be installed during dependency resolution, which results in build failures.

Solution

Updated NumPy from:
numpy==1.18.4

to:
numpy==1.21.6

NumPy 1.21.x includes the required Cython version constraint, resolving the dependency conflict without requiring any Dockerfile changes or additional pip flags.

Testing

  • Rebuilt Django Docker image successfully.
  • Rebuilt Celery Docker image successfully.
  • Verified that the development containers build and start correctly using docker-compose.dev.yml.

Files Changed

  • esim-cloud-backend/requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants