Skip to content

Commit

Permalink
meta: now we're ready for 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Feb 25, 2024
1 parent 7961eaf commit d884e1f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.12"
python: '3.12'

sphinx:
configuration: docs/conf.py
Expand Down
6 changes: 5 additions & 1 deletion changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@ changelog:
release-date: 20 February 2024
changes:
- rem: Rename ``chances_of_remdry`` to ``chances_of_remaining_dry`` in order to reduce confusion.
- fix: Bump ``aiohttp`` dependency from v3.9.0 to v3.9.3.
- fix: Bump ``aiohttp`` dependency from v3.9.0 to v3.9.3.
- version: 1.1.2
release-date: 25 February 2024
changes:
- add: Add an official project documentation in https://python-weather.readthedocs.io/en/latest/.
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,6 @@ Changelog
+---------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| 1.1.1 | 20 February 2024 | - 🟥 Rename ``chances_of_remdry`` to ``chances_of_remaining_dry`` in order to reduce confusion. |
| | | - 🟦 Bump ``aiohttp`` dependency from v3.9.0 to v3.9.3. |
+---------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| 1.1.2 | 25 February 2024 | - 🟩 Add an official project documentation in https://python-weather.readthedocs.io/en/latest/. |
+---------+------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
sys.path.insert(0, os.path.abspath('..'))

project = 'python-weather'
copyright = '2021-2024, null8626'
author = 'null8626'

copyright = author
with open('../LICENSE', 'r') as f:
copyright = f'{re.search(r"\d{4}\-\d{4}", f.read()).group()} {copyright}'

version = ''
with open('../python_weather/__init__.py') as f:
with open('../python_weather/__init__.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)

extensions = [
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools"]

[project]
name = "python-weather"
version = "1.1.1"
version = "1.1.2"
description = "A free and asynchronous weather API wrapper made in Python, for Python."
readme = "README.md"
license = { text = "MIT" }
Expand Down Expand Up @@ -40,4 +40,4 @@ changes = "https://python-weather.readthedocs.io/en/latest/changelog.html"
homepage = "https://python-weather.readthedocs.io/en/latest/"
documentation = "https://python-weather.readthedocs.io/en/latest/"
repository = "https://github.com/null8626/python-weather"
download_url = "https://github.com/null8626/python-weather/archive/1.1.1.tar.gz"
download_url = "https://github.com/null8626/python-weather/archive/1.1.2.tar.gz"

0 comments on commit d884e1f

Please sign in to comment.