Skip to content

Commit 8c107ed

Browse files
authored
Merge pull request #108 from ronnyhdez/T107
Include metadata for new release
2 parents b8d81c9 + 3482946 commit 8c107ed

File tree

5 files changed

+521
-73
lines changed

5 files changed

+521
-73
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.2.0] - 2025-06-25
9+
10+
### Major Updates
11+
- **Complete documentation overhaul** with modern Sphinx theme
12+
- **Python version support** expanded to include 3.10, 3.11, 3.12, and 3.13
13+
- **Dependency modernization** with updated versions of all major dependencies
14+
15+
### Added
16+
- Documentation with pydata-sphinx-theme
17+
- Modern badge-based README with clear installation instructions
18+
- Support for latest Python versions (3.10-3.13)
19+
- Modern build system using pyproject.toml
20+
21+
### Testing
22+
- **Migrated test suite to pytest** from unittest for better testing experience
23+
- Modern test fixtures and parametrized testing
24+
- Automated testing across multiple Python versions in CI
25+
26+
### Changed
27+
- **Breaking**: Minimum Python version raised to 3.10
28+
- Documentation completely rebuilt with modern structure and examples
29+
- Build system migrated from setup.py to pyproject.toml
30+
- Updated package structure following modern Python standards
31+
- Enhanced example data and tutorials
32+
33+
### Updated Dependencies
34+
- matplotlib >= 3.10.0 (was < 3.0)
35+
- numpy >= 2.1.3 (major version update)
36+
- pandas >= 2.2.3 (major version update)
37+
- scipy >= 1.15.2 (major version update)
38+
- scikit-learn >= 1.6.1 (major version update)
39+
- All other dependencies updated to latest stable versions
40+
41+
## [1.1.1] - 2021-11-13
42+
43+
### Previous Release
44+
- Last stable release before major modernization
45+
- Support for Python 3.6-3.9
46+
- Legacy documentation and build system
47+
- Original CCG geostatistics functionality
48+
49+
---
50+
51+
## Migration Guide
52+
53+
### Upgrading from 1.1.1 to 1.2.1
54+
55+
**Python Version Requirements:**
56+
- **Minimum Python version is now 3.10** (was 3.6)
57+
- Ensure you're using Python 3.10 or newer before upgrading
58+
59+
**Installation:**
60+
```bash
61+
# Uninstall old version
62+
pip uninstall pygeostat
63+
64+
# Install new version
65+
pip install pygeostat
66+
67+
# Verify installation
68+
python -c "import pygeostat; print(pygeostat.__version__)"
69+
```
70+
71+
**Code Compatibility:**
72+
- Most existing code should work without changes
73+
- Some deprecated matplotlib/pandas patterns may need updating
74+
- Check the new documentation for updated examples
75+

README.md

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,42 @@
55
<img alt="Pygeostat Logo" src="http://www.ccgalberta.com/pygeostat/_images/pygeostat_logo.png">
66
</picture>
77

8-
|||
9-
| --- | --- |
10-
| Package | [![CI - Test](https://github.com/CcgAlberta/pygeostat/workflows/IntegrationCheck/badge.svg?branch=master)]( https://github.com/CcgAlberta/pygeostat) [![Docs](https://github.com/CcgAlberta/pygeostat/workflows/Documentation/badge.svg?branch=master)](https://www.ccgalberta.com/pygeostat/welcome.html) [![PyPi](https://badge.fury.io/py/pygeostat.svg)]([https://www.ccgalberta.com/pygeostat/welcome.htm](https://badge.fury.io/py/pygeostat))|
11-
| Versions | [![Python3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100) [![Python3.11](https://img.shields.io/badge/python-3.11-red.svg)](https://www.python.org/downloads/release/python-3110) |
8+
[![PyPI](https://badge.fury.io/py/pygeostat.svg)](https://badge.fury.io/py/pygeostat)
9+
[![Python](https://img.shields.io/pypi/pyversions/pygeostat.svg)](https://pypi.org/project/pygeostat/)
10+
[![CI](https://github.com/CcgAlberta/pygeostat/workflows/IntegrationCheck/badge.svg?branch=master)](https://github.com/CcgAlberta/pygeostat)
11+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1212

13-
:warning: This package is being updated. Expect frequent changes to the code and functionality.
14-
Latest stable release can be found [here](https://github.com/CcgAlberta/pygeostat/releases/tag/v1.1.1)
13+
:warning: This package has been updated. Expect breaking changes when migrating
14+
from last stable [version](https://github.com/CcgAlberta/pygeostat/releases/tag/v1.1.1)
15+
16+
## Installation
17+
18+
### Quick Install
19+
20+
```bash
21+
pip install pygeostat
22+
```
23+
24+
### Requirements
25+
- Python 3.10 or higher
26+
27+
### Verify Installation
28+
29+
```{python}
30+
import pygeostat as gs
31+
print(f"Pygeostat version: {gs.__version__}")
32+
print("Basic import successful!")
33+
```
34+
35+
# Test with example data
36+
37+
```{python}
38+
# Load example data (this tests data loading functionality)
39+
data = gs.ExampleData('oilsands')
40+
print(f"Data loaded: {data.shape}")
41+
print(f"Columns: {list(data.columns)}")
42+
print(f"First few rows:\n{data.head()}")
43+
```
1544

1645
## Introduction
1746

@@ -30,5 +59,9 @@ For a full featured commercial alternative to pygeostat, see [RMSP](https://reso
3059

3160
Contact [Resource Modeling Solutions](https://resourcemodelingsolutions.com/contact/) about a commercial or academic license.
3261

62+
## Changelog
63+
64+
See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
65+
3366
# Contact:
3467
Refer to [www.ccgalberta.com](http://www.ccgalberta.com).

pyproject.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ include = [
8585
"pygeostat.*",
8686
]
8787

88+
[tool.setuptools]
89+
include-package-data = true
90+
91+
[tool.setuptools.package-data]
92+
pygeostat = [
93+
"data/**/*"
94+
]
95+
8896
[tool.setuptools.dynamic]
8997
version = {attr = "pygeostat.__version__"}
9098

99+
[dependency-groups]
100+
dev = [
101+
"build>=1.2.2.post1",
102+
"twine>=6.1.0",
103+
]
104+

src/pygeostat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
interact with GSLIB and CCG software using Python.
1111
'''
1212

13-
__version__ = '1.1.1'
13+
__version__ = '1.2.0'
1414

1515
# parameter configurations
1616
from . pygeostat_parameters import Parameters, PlotStyle

0 commit comments

Comments
 (0)