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

Commit

Permalink
Merge pull request #31 from NoRedInk/puffins/upgrade-urllib3
Browse files Browse the repository at this point in the history
Puffins/upgrade urllib3
  • Loading branch information
Marica Odagaki authored May 15, 2019
2 parents 9b26886 + 78d2985 commit 35d88e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
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

0 comments on commit 35d88e4

Please sign in to comment.