Step-by-step guides to get your project up and running. Here you'll find out how we develop solutions with our APIs. You can follow our step-by-step guides to start building your own innovative projects. These tutorials are related to the Mapping and Data APIs available from our Data Hub (https://osdatahub.os.uk/).
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
#### Changes included in this PR
- Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
- data-science/weighted-shortest-path/code/requirements.txt
⚠️ Warning
```
pylint 2.7.0 has requirement astroid==2.5.0, but you have astroid 2.4.2.
os-paw 1.0.1 has requirement requests==2.24.0, but you have requests 2.31.0.
notebook 6.5.6 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0.
networkx 2.6 requires scipy, which is not installed.
networkx 2.6 has requirement pandas>=1.1, but you have pandas 1.0.4.
networkx 2.6 has requirement matplotlib>=3.3, but you have matplotlib 3.2.1.
nbconvert 6.5.1 has requirement mistune<2,>=0.8.1, but you have mistune 2.0.3.
nbconvert 6.5.1 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1.
nbconvert 6.5.1 has requirement nbformat>=5.1, but you have nbformat 5.0.7.
nbconvert 6.5.1 has requirement traitlets>=5.0, but you have traitlets 4.3.3.
nbclient 0.7.4 has requirement nbformat>=5.1, but you have nbformat 5.0.7.
nbclient 0.7.4 has requirement traitlets>=5.3, but you have traitlets 4.3.3.
nbclient 0.7.4 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3.
nbclient 0.7.4 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.11.2.
nbclassic 1.0.0 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0.
jupyter-server 1.24.0 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3.
jupyter-server 1.24.0 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.11.2.
jupyter-server 1.24.0 has requirement nbformat>=5.2.0, but you have nbformat 5.0.7.
jupyter-server 1.24.0 has requirement traitlets>=5.1, but you have traitlets 4.3.3.
Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1.
```
#### Vulnerabilities that will be fixed
##### By pinning:
Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------
![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **97/1000** **Why?** Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: No data, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Local, EPSS: 0.01055, Social Trends: No, Days since published: 0, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: Medium, Package Popularity Score: 99, Impact: 5.99, Likelihood: 1.6, Score Version: V5 | Resource Exhaustion [SNYK-PYTHON-IDNA-6597975](https://snyk.io/vuln/SNYK-PYTHON-IDNA-6597975) | `idna:` `2.9 -> 3.7` | No | No Known Exploit
(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.
------------
**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.*
For more information:
🧐 [View latest project report](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr)
🛠 [Adjust project settings](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)
[//]: # (snyk:metadata:{"prId":"80b1192d-a791-434c-8644-7dbab88a8997","prPublicId":"80b1192d-a791-434c-8644-7dbab88a8997","dependencies":[{"name":"idna","from":"2.9","to":"3.7"}],"packageManager":"pip","projectPublicId":"a7418a44-851e-408a-b18d-29f9ec5b685d","projectUrl":"https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-IDNA-6597975"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[97],"remediationStrategy":"vuln"})
---
**Learn how to fix vulnerabilities with free interactive lessons:**
🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - data-science/weighted-shortest-path/code/requirements.txt⚠️ Warning
``` pylint 2.7.0 has requirement astroid==2.5.0, but you have astroid 2.4.2. os-paw 1.0.1 has requirement requests==2.24.0, but you have requests 2.31.0. notebook 6.5.6 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0. networkx 2.6 requires scipy, which is not installed. networkx 2.6 has requirement pandas>=1.1, but you have pandas 1.0.4. networkx 2.6 has requirement matplotlib>=3.3, but you have matplotlib 3.2.1. nbconvert 6.5.1 has requirement mistune<2,>=0.8.1, but you have mistune 2.0.3. nbconvert 6.5.1 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1. nbconvert 6.5.1 has requirement nbformat>=5.1, but you have nbformat 5.0.7. nbconvert 6.5.1 has requirement traitlets>=5.0, but you have traitlets 4.3.3. nbclient 0.7.4 has requirement nbformat>=5.1, but you have nbformat 5.0.7. nbclient 0.7.4 has requirement traitlets>=5.3, but you have traitlets 4.3.3. nbclient 0.7.4 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3. nbclient 0.7.4 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.11.2. nbclassic 1.0.0 has requirement Send2Trash>=1.8.0, but you have Send2Trash 1.5.0. jupyter-server 1.24.0 has requirement jupyter-client>=6.1.12, but you have jupyter-client 6.1.3. jupyter-server 1.24.0 has requirement jupyter-core!=5.0.*,>=4.12, but you have jupyter-core 4.11.2. jupyter-server 1.24.0 has requirement nbformat>=5.2.0, but you have nbformat 5.0.7. jupyter-server 1.24.0 has requirement traitlets>=5.1, but you have traitlets 4.3.3. Jinja2 3.1.3 has requirement MarkupSafe>=2.0, but you have MarkupSafe 1.1.1. ```**Why?** Confidentiality impact: None, Integrity impact: None, Availability impact: High, Scope: Unchanged, Exploit Maturity: No data, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Local, EPSS: 0.01055, Social Trends: No, Days since published: 0, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: Medium, Package Popularity Score: 99, Impact: 5.99, Likelihood: 1.6, Score Version: V5 | Resource Exhaustion
[SNYK-PYTHON-IDNA-6597975](https://snyk.io/vuln/SNYK-PYTHON-IDNA-6597975) | `idna:`
`2.9 -> 3.7`
| No | No Known Exploit (*) Note that the real score may have changed since the PR was raised. Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded. Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"80b1192d-a791-434c-8644-7dbab88a8997","prPublicId":"80b1192d-a791-434c-8644-7dbab88a8997","dependencies":[{"name":"idna","from":"2.9","to":"3.7"}],"packageManager":"pip","projectPublicId":"a7418a44-851e-408a-b18d-29f9ec5b685d","projectUrl":"https://app.eu.snyk.io/org/ordnance-survey/project/a7418a44-851e-408a-b18d-29f9ec5b685d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-IDNA-6597975"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[97],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr)