Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Puffins/upgrade urllib3 #31

Merged
merged 2 commits into from
May 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,26 @@ Sometimes, elm-package flakes out due to connection issues. The simplest solutio
with_retry.rb elm-package install
```


## elm_self_publish

Sometimes, we want to "install" our packages locally to test them before publishing them remotely. This is designed only with the use case of testing packaged, not using them in production. It doesn't provide any of the guarantees nor support that elm-package does. If you're doing production stuff, elm-package is what you want.


```
python elm_self_publish.py ../elm-css ../json-to-elm/
```

will publish elm-css into json-to-elm

## Upgrading a Python dependency

If you have Nix, you can load a shell with the necessary dependencies like this:

```
nix-shell -p python37Packages.pip-tools
```

Once in the shell, run:

```
pip-compile --upgrade-package my-package
```
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ certifi==2018.11.29 # via requests
chardet==3.0.4 # via requests
idna==2.8 # via requests
requests==2.21.0
urllib3==1.24.1 # via requests
urllib3==1.24.3