Skip to content

Simplify Binder configuration and fix build failure#7

Merged
erikfilias merged 15 commits intomainfrom
fix-binder-config-and-align-opentepes-11732358405987623959
Feb 6, 2026
Merged

Simplify Binder configuration and fix build failure#7
erikfilias merged 15 commits intomainfrom
fix-binder-config-and-align-opentepes-11732358405987623959

Conversation

@erikfilias
Copy link
Copy Markdown
Contributor

  • Resolved Binder build failure ("too many open files") by adding a comprehensive .dockerignore and cleaning up unnecessary files (.idea, desktop.ini).
  • Simplified environment.yml by relying on openTEPES's own dependency resolution.
  • Kept essential binary solvers (glpk, coincbc) in conda section.
  • Added missing tutorial dependencies: tsam, highspy, scikit-learn-extra, rise.
  • Removed redundant Requirements.txt to avoid conflicts.
  • Aligned with Python 3.12 and conda-forge best practices.

- Resolved Binder build failure ("too many open files") by adding a comprehensive .dockerignore and cleaning up unnecessary files (.idea, desktop.ini).
- Simplified environment.yml by relying on openTEPES's own dependency resolution.
- Kept essential binary solvers (glpk, coincbc) in conda section.
- Added missing tutorial dependencies: tsam, highspy, scikit-learn-extra, rise.
- Removed redundant Requirements.txt to avoid conflicts.
- Aligned with Python 3.12 and conda-forge best practices.

Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
@erikfilias erikfilias requested a review from Copilot February 6, 2026 12:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 addresses a Binder build failure caused by "too many open files" and simplifies the environment configuration by delegating dependency management to openTEPES while keeping only essential binary solvers and tutorial-specific packages.

Changes:

  • Added comprehensive .dockerignore to exclude build artifacts and development files from Docker context
  • Simplified environment.yml to rely on openTEPES's dependency resolution, retaining only binary solvers (glpk, coincbc) and tutorial dependencies (tsam, highspy, scikit-learn-extra, rise)
  • Removed desktop.ini file and added it to .dockerignore

Reviewed changes

Copilot reviewed 3 out of 9 changed files in this pull request and generated 2 comments.

File Description
environment.yml Streamlined dependencies by removing packages that openTEPES will install, kept binary solvers in conda section and moved tutorial packages to pip section
desktop.ini Deleted Windows-specific metadata file
.dockerignore Added comprehensive ignore patterns for Python build artifacts, development tools, and OS-specific files
Files not reviewed (5)
  • .idea/.gitignore: Language not supported
  • .idea/.name: Language not supported
  • .idea/inspectionProfiles/Project_Default.xml: Language not supported
  • .idea/inspectionProfiles/profiles_settings.xml: Language not supported
  • .idea/vcs.xml: Language not supported

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

erikfilias and others added 2 commits February 6, 2026 13:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@erikfilias
Copy link
Copy Markdown
Contributor Author

@copilot can you test if Binder building will be sucessful?

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 6, 2026

@erikfilias I've opened a new pull request, #8, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 11 commits February 6, 2026 12:37
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
…ding numpy

Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Co-authored-by: erikfilias <8010477+erikfilias@users.noreply.github.com>
Fix Python 3.12 compatibility and add Binder environment testing
@erikfilias erikfilias merged commit 3f6b1ea into main Feb 6, 2026
1 check passed
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.

3 participants