Skip to content

Commit

Permalink
upgrading urlib3 and cleaning a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
MattReimer committed Oct 20, 2023
1 parent f420d42 commit bbcf114
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 38 deletions.
22 changes: 11 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"cwd": "${workspaceFolder}",
"env" : {
"PYTHONPATH": "${workspaceFolder}"
},
"console": "integratedTerminal"
}
// {
// "name": "Python: Current File",
// "type": "python",
// "request": "launch",
// "program": "${file}",
// "cwd": "${workspaceFolder}",
// "env" : {
// "PYTHONPATH": "${workspaceFolder}"
// },
// "console": "integratedTerminal"
// }
]
}
10 changes: 9 additions & 1 deletion RiverscapesXML.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,13 @@
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
"python.testing.pytestEnabled": true,
}
},
"extensions": {
"recommendations": [
"ms-python.pylint",
"ms-python.python",
"njpwerner.autodocstring",
"redhat.vscode-xml"
]
}
}
62 changes: 37 additions & 25 deletions python/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,50 @@
"console": "integratedTerminal",
},
{
"name": "Warehouse 3.0: Migration",
"name": "🔬Python Test XML",
"type": "python",
"request": "launch",
"module": "migration.warehouse_migration",
// Run test.py
"program": "${workspaceFolder}/test.py",
"cwd": "${workspaceFolder}/../",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"justMyCode": true,
"args": [
// Note that we're readinf the copy here:
"production_01-06-2022.sqlite",
"old_xml",
"new_xml",
"watersheds_for_riverscapes.sqlite",
"champ_visit_bounds.sqlite"
],
"env": {
"PYTHON_PATH": "${workspaceFolder}",
}
},
{
"name": "Warehouse 3.0: XML_Conversion",
"type": "python",
"request": "launch",
"module": "migration.xml_conversion",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"justMyCode": true,
"args": [
// Note that we're readinf the copy here:
"production_11-05-2022_MIGRATION.sqlite",
]
},
// {
// "name": "Warehouse 3.0: Migration",
// "type": "python",
// "request": "launch",
// "module": "migration.warehouse_migration",
// "console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
// "justMyCode": true,
// "args": [
// // Note that we're readinf the copy here:
// "production_01-06-2022.sqlite",
// "old_xml",
// "new_xml",
// "watersheds_for_riverscapes.sqlite",
// "champ_visit_bounds.sqlite"
// ],
// "env": {
// "PYTHON_PATH": "${workspaceFolder}",
// }
// },
// {
// "name": "Warehouse 3.0: XML_Conversion",
// "type": "python",
// "request": "launch",
// "module": "migration.xml_conversion",
// "console": "integratedTerminal",
// "envFile": "${workspaceFolder}/.env",
// "justMyCode": true,
// "args": [
// // Note that we're readinf the copy here:
// "production_11-05-2022_MIGRATION.sqlite",
// ]
// },
// {
// // This is a script you should have to run AFTER the XML migration
// "name": "Warehouse 3.0: DB Augmentation",
Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pylint==2.15.0
pytest==7.2.0
requests==2.31.0
toml==0.10.2
urllib3==1.26.18
urllib3==2.0.2

0 comments on commit bbcf114

Please sign in to comment.