Skip to content

microbots python 3.13 installation issue fix#169

Open
shivashanmugam wants to merge 5 commits into
mainfrom
siva/fix_python_3.13_issue
Open

microbots python 3.13 installation issue fix#169
shivashanmugam wants to merge 5 commits into
mainfrom
siva/fix_python_3.13_issue

Conversation

@shivashanmugam

@shivashanmugam shivashanmugam commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Fixes : #137

Python 3.13 — ✅ verified
In a fresh CPython 3.13.7 venv. It installed all dependencies (numpy 2.2.6 selected via marker) and import microbots succeeded.

Python 3.14 — ✅ verified
Install: resolves cleanly (numpy 2.5.0 selected via marker) — verified on real 3.14.

Created Tests to verify microbots installation on 3.11, 3.12, 3.13, 3.14
image

@codecov-commenter

codecov-commenter commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.32%. Comparing base (628923c) to head (9e53d02).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   65.28%   65.32%   +0.04%     
==========================================
  Files          34       34              
  Lines        2394     2394              
==========================================
+ Hits         1563     1564       +1     
+ Misses        831      830       -1     
Flag Coverage Δ
ghcp 29.90% <ø> (ø)
integration 34.41% <ø> (ø)
ollama_local 31.78% <ø> (ø)
slow-browser 27.06% <ø> (ø)
slow-other 38.38% <ø> (-0.09%) ⬇️
unit 59.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivashanmugam shivashanmugam changed the title python 3.13 issue fix microbots python 3.13 installation issue fix Jun 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Microbots’ pinned dependency set to avoid Python 3.13 install failures (notably around NumPy) and adds CI coverage to confirm the package can be installed and imported across Python 3.11–3.14.

Changes:

  • Update pinned dependency versions and add Python-version markers for NumPy to ensure wheels are available on 3.13/3.14.
  • Advertise support for Python 3.12–3.14 via trove classifiers.
  • Add a GitHub Actions job intended to verify install + import on Python 3.11–3.14.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
requirements.txt Updates pins and adds conditional NumPy pins to avoid source builds on newer Python versions.
pyproject.toml Adds Python 3.12–3.14 classifiers (package metadata).
.github/workflows/test.yml Adds an install-check matrix job to validate install/import across Python versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test.yml Outdated
Properly mimics real user system installation

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

In Fedora microbots installation fails as it uses Python 3.13 as a default python version

3 participants