Skip to content

setup: add download, dependencies and related scripts#5

Merged
jdhughes-dev merged 6 commits into
MODFLOW-ORG:developfrom
mjreno:download
Jul 20, 2022
Merged

setup: add download, dependencies and related scripts#5
jdhughes-dev merged 6 commits into
MODFLOW-ORG:developfrom
mjreno:download

Conversation

@mjreno
Copy link
Copy Markdown
Contributor

@mjreno mjreno commented Jul 19, 2022

No description provided.

@mjreno
Copy link
Copy Markdown
Contributor Author

mjreno commented Jul 19, 2022

download.py pylint errors:
E0601: Using variable 'req' before assignment (used-before-assignment)
E1101: Instance of 'LookupDict' has no 'ok' member (no-member)

A change was committed for the first however requests.codes.ok is a valid code. download.py is ignored by pylint in the last commit but shouldn't be- not sure how to resolve the pylint issue yet.

@mjreno
Copy link
Copy Markdown
Contributor Author

mjreno commented Jul 19, 2022

Lines for the above errors are 219 and 628.

@jdhughes-dev
Copy link
Copy Markdown
Contributor

I think you just have to add requests to the install_requires = section.

@mjreno
Copy link
Copy Markdown
Contributor Author

mjreno commented Jul 19, 2022

You are right requests wasn't installed in the container- now it is and you can see the failure I am seeing locally.

@jdhughes-dev jdhughes-dev merged commit 64e500b into MODFLOW-ORG:develop Jul 20, 2022
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.

2 participants