Skip to content

Commit

Permalink
Increase versions (#622)
Browse files Browse the repository at this point in the history
* update versions

* add changelog of new version

* Update CHANGELOG.md

Co-authored-by: Matic Lubej <matic.lubej@sinergise.com>

---------

Co-authored-by: Matic Lubej <matic.lubej@sinergise.com>
  • Loading branch information
zigaLuksic and Matic Lubej committed Mar 14, 2023
1 parent d9375cf commit 876b243
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 17 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [Version 1.4.1] - 2023-3-14

- The codebase is now fully annotated and type annotations are mandatory for all new code.
- In the future `EOPatch` objects will **require** a valid `bbox`. For now the users are warned when no such value is provided.
- `SaveTask` and `LoadTask` now automatically save/load the bounding box whenever possible, even if not specified in `features` parameter. `CopyTask` and `MergeEOPatchesTask` also always include the bounding box when possible.
- The `EOPatch` attribute `bbox` can no longer be deleted via the `del` command.
- The `EOPatch` attribute `timestamp` was renamed into `timestamps`. The old name still works, but the users are notified. Similarly for `FeatureType.TIMESTAMP` which was renamed to `FeatureType.TIMESTAMPS`.
- Feature parsers from `eolearn.core.utils.parsers` now support callables as input for `allowed_feature_types`, which are used for filtration over all feature types. Due to this improvement the class `FeatureTypeSet` was deprecated.
- Certain rarely used methods of `FeatureType` were deprecated. Method `is_raster` has been renamed to `is_array` and designates feature types that contain numpy arrays. We also added `is_image` for types that denote temporal and timeless imagery.
- Contributors are no longer listed in file headers, but are instead listed in the `CREDITS.md` file in the root of the repository.
- Updated `CONTRIBUTING.md` instructions.
- Various other minor improvements and deprecations.


## [Version 1.4.0] - 2023-1-20

- (**codebreaking**) Complete overhaul of `eolearn.coregistration`. See documentation for details.
Expand Down
2 changes: 1 addition & 1 deletion core/eolearn/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
from .utils.parallelize import execute_with_mp_lock, join_futures, join_futures_iter, parallelize
from .utils.parsing import FeatureParser

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion coregistration/eolearn/coregistration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .coregistration import ECCRegistrationTask, get_gradient

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion features/eolearn/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
AddSpatioTemporalFeaturesTask,
)

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion geometry/eolearn/geometry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
)
from .transformations import RasterToVectorTask, VectorToRasterTask

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion io/eolearn/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
get_available_timestamps,
)

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion mask/eolearn/mask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
from .snow_mask import SnowMaskTask, TheiaSnowMaskTask
from .utils import resize_images

__version__ = "1.4.0"
__version__ = "1.4.1"
2 changes: 1 addition & 1 deletion ml_tools/eolearn/ml_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .sampling import BlockSamplingTask, FractionSamplingTask, GridSamplingTask, sample_by_values
from .train_test_split import TrainTestSplitTask

__version__ = "1.4.0"
__version__ = "1.4.1"
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def parse_requirements(file):
setup(
name="eo-learn",
python_requires=">=3.7",
version="1.4.0",
version="1.4.1",
description="Earth observation processing framework for machine learning in Python",
long_description=get_long_description(),
long_description_content_type="text/markdown",
Expand All @@ -38,14 +38,14 @@ def parse_requirements(file):
packages=[],
include_package_data=True,
install_requires=[
"eo-learn-core==1.4.0",
"eo-learn-coregistration==1.4.0",
"eo-learn-features==1.4.0",
"eo-learn-geometry==1.4.0",
"eo-learn-io==1.4.0",
"eo-learn-mask==1.4.0",
"eo-learn-ml-tools==1.4.0",
"eo-learn-visualization==1.4.0",
"eo-learn-core==1.4.1",
"eo-learn-coregistration==1.4.1",
"eo-learn-features==1.4.1",
"eo-learn-geometry==1.4.1",
"eo-learn-io==1.4.1",
"eo-learn-mask==1.4.1",
"eo-learn-ml-tools==1.4.1",
"eo-learn-visualization==1.4.1",
],
extras_require={"DEV": parse_requirements("requirements-dev.txt")},
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion visualization/eolearn/visualization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .eopatch import PlotBackend, PlotConfig

__version__ = "1.4.0"
__version__ = "1.4.1"

0 comments on commit 876b243

Please sign in to comment.