Skip to content

Commit 6b5e064

Browse files
authored
Merge pull request #45 from ThomasBouche/feature/new_version_python
support for python 3.12 3.13
2 parents a593b9c + 2c7563f commit 6b5e064

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
commit-message:
8+
prefix: "chore(gh-actions): "
9+
- package-ecosystem: "pip"
10+
directory: "/"
11+
schedule:
12+
interval: "monthly"
13+
commit-message:
14+
prefix: "chore(dependencies): "

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
- name: Set up Python version
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: '3.11'
26+
python-version: |
27+
3.9
28+
3.10
29+
3.11
30+
3.12
31+
3.13
2732
- name: Install extra dependencies
2833
run: |
2934
python -m pip install --upgrade pip
@@ -51,7 +56,7 @@
5156
- name: Set up Python version
5257
uses: actions/setup-python@v5
5358
with:
54-
python-version: '3.11'
59+
python-version: '3.13'
5560
- name: Build package
5661
run: |
5762
python -m pip install --upgrade build

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.2.1] - August, 2024
8+
9+
### Features
10+
11+
* Support for Python3.12 and Python 3.13
12+
713
## [0.2.0] - January, 2024
814

915
### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Meteole allows you to retrieve forecasts for a wide range of weather indicators.
5959
*note : the date of the run cannot be more than 4 days in the past. Consequently, change the date of the run in the example below.*
6060

6161
```python
62-
import datetime as dt
62+
import datetime as dt
6363
from meteole import AromeForecast
6464

6565
# Configure the logger to provide information on data recovery: recovery status, default settings, etc.

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "meteole"
7-
version = "0.2.0"
7+
version = "0.2.1"
88
requires-python = ">3.8.0"
99
description = "A Python client library for forecast model APIs (e.g., Météo-France)."
1010
readme = "README.md"
@@ -26,14 +26,15 @@ classifiers = [
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29-
# "Programming Language :: Python :: 3.12", no wheels 3.12 for dependency ecmwflibs
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3031
"License :: OSI Approved :: Apache Software License",
3132
]
3233

3334
dependencies = [
3435
"pandas>=2.0.0",
35-
"ecmwflibs>=0.6.3",
36-
"cfgrib>=0.0.11.0",
36+
"eccodes>=2.39.0",
37+
"cfgrib>=0.9.10.4",
3738
"requests>=2.31.0",
3839
"xarray>=2024.5.0",
3940
"xmltodict>=0.13.0",

0 commit comments

Comments
 (0)