aws / aws/amazon-sagemaker-examples
[Bug Report] environment.yml - The following packages are incompatible - ipython 7.6.1
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
**Link to the notebook**
https://mybinder.org/v2/gh/aws/amazon-sagemaker-examples/HEAD
**Describe the bug**
Opening repo in Binder results in failure due to incompatible dependencies
**To reproduce**
Open the link, check the logs.
**Logs**
```
HEAD is now at 89c54681 change the embedding model using gpt-j and add jumpstart UI instruction (#4399)
Python version unspecified, using current default Python version 3.10. This will change in the future.Building conda environment for python=3.10
Using CondaBuildPack builder
Step 1/50 : FROM docker.io/library/buildpack-deps:bionic
---> 0f137f206fa8
...
Step 37/50 : COPY --chown=1000:1000 src/environment.yml ${REPO_DIR}/environment.yml
---> Using cache
---> 03c2d6f460ad
Step 38/50 : USER ${NB_USER}
---> Using cache
---> ffc63da9c94e
Step 39/50 : RUN TIMEFORMAT='time: %3R' bash -c 'time ${MAMBA_EXE} env update -p ${NB_PYTHON_PREFIX} --file "environment.yml" && time ${MAMBA_EXE} clean --all -f -y && ${MAMBA_EXE} list -p ${NB_PYTHON_PREFIX} '
---> Running in a49285a10940
Looking for: ['ipython==7.6.1', 'sphinx==4.2.0', 'jinja2==3.0.2', 'pip']
warning libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
Could not solve for environment specs
The following packages are incompatible
└─ ipython 7.6.1 is installable with the potential options
├─ ipython 7.6.1 would require
│ └─ python >=3.6,<3.7.0a0 , which can be installed;
└─ ipython 7.6.1 would require
└─ python >=3.7,<3.8.0a0 , which can be installed.
```
Contributor guide
Research direction
Start with environment.yml and the Binder build logs linked in the issue. Check the pinned ipython 7.6.1 dependency against Binder's Python 3.10 environment, then verify that opening the Binder link completes without dependency-solving errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100