Skip to content

Commit

Permalink
🔒 security upgrades
Browse files Browse the repository at this point in the history
* 🐛 upgrade requests

* more upgrades

---------

Co-authored-by: Justin Flannery <juftin@juftin.com>
  • Loading branch information
willcohen and juftin authored Jun 6, 2023
1 parent 70bd20e commit 4c6d371
Show file tree
Hide file tree
Showing 4 changed files with 511 additions and 463 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
hatch build
- name: Publish package on PyPI
uses: pypa/gh-action-pypi-publish@v1.6.4
uses: pypa/gh-action-pypi-publish@v1.8.6
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
15 changes: 12 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"pytz~=2023.2",
"pyyaml~=6.0",
"ratelimit~=2.2.1",
"requests~=2.28.2",
"requests~=2.31.0",
"rich~=13.3.2",
"rich-click~=1.6.1",
"tenacity~=8.2.2"
Expand Down Expand Up @@ -114,10 +114,19 @@ format = ["ruff --fix {args:.}", "black {args:.}"]
lint = ["ruff {args:.}", "black --check {args:.}"]
requirements = [
"hatch dep show requirements --project-only --all > requirements.in",
"_pip_compile --output-file requirements/requirements-prod.txt{args:}",
"_pip_compile --output-file requirements/requirements-prod.txt",
"_sed_requirements requirements/requirements-prod.txt",
"hatch dep show requirements --all > requirements.in",
"_pip_compile --output-file requirements/requirements-dev.txt{args:}",
"_pip_compile --output-file requirements/requirements-dev.txt",
"_sed_requirements requirements/requirements-dev.txt",
"rm requirements.in"
]
requirements-upgrade = [
"hatch dep show requirements --project-only --all > requirements.in",
"_pip_compile --output-file requirements/requirements-prod.txt --upgrade",
"_sed_requirements requirements/requirements-prod.txt",
"hatch dep show requirements --all > requirements.in",
"_pip_compile --output-file requirements/requirements-dev.txt --upgrade",
"_sed_requirements requirements/requirements-dev.txt",
"rm requirements.in"
]
Expand Down
Loading

0 comments on commit 4c6d371

Please # to comment.