Skip to content

Commit

Permalink
Release/2.3.0 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
karjanme authored Jun 13, 2024
2 parents cc66e90 + a29807a commit 8abdbb3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 36 deletions.
34 changes: 4 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -74,32 +77,3 @@ jobs:
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

release:
name: Release Job
runs-on: ubuntu-latest
needs: [lint, test]
if: ${{ success() && github.ref == 'refs/heads/master' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-python@v1
with:
python-version: "3.x"
- name: Install
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Package
run: |
pip install setuptools wheel
python setup.py bdist_wheel
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
twine upload dist/*
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## Release 2.3.0 [2024-06-12]
### Security
- CVE-2024-35195: Bump `requests` from 2.31.0 to 2.32.0

## Release 2.2.2 [2023-10-01]
### Fixed
- Bug with how timezones are applied to observation timestamps
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[codecov-image]: https://codecov.io/gh/karjanme/airnowpy/branch/master/graph/badge.svg
[codecov-image]: https://codecov.io/gh/karjanme/airnowpy/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/karjanme/airnowpy
[downloads-image]:https://static.pepy.tech/badge/airnowpy
[downloads-url]: https://pepy.tech/project/airnowpy
[github-actions-image]: https://github.com/karjanme/airnowpy/workflows/Main%20Workflow/badge.svg?branch=master
[github-actions-url]: https://github.com/karjanme/airnowpy/actions?query=workflow%3A%22Main+Workflow%22+branch%3Amaster
[github-actions-image]: https://github.com/karjanme/airnowpy/workflows/Main%20Workflow/badge.svg?branch=main
[github-actions-url]: https://github.com/karjanme/airnowpy/actions?query=workflow%3A%22Main+Workflow%22+branch%3Amain
[pypi-image]: https://badge.fury.io/py/airnowpy.svg
[pypi-url]: https://badge.fury.io/py/airnowpy

Expand All @@ -22,4 +22,4 @@ In order to use this library an API key is required. Get one [here](https://docs

## License

[MIT License](https://github.com/karjanme/airnowpy/blob/master/LICENSE)
[MIT License](https://github.com/karjanme/airnowpy/blob/main/LICENSE)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytz==2020.1
requests==2.31.0
requests==2.32.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="airnowpy",
version="2.2.2",
version="2.3.0",
description="Python Library for the AirNow API",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 8abdbb3

Please sign in to comment.