Skip to content

Commit

Permalink
Update docs (#298)
Browse files Browse the repository at this point in the history
* Rename reStructuredText files with *.rst suffix
* Refresh with a modern sphinx-quickstart run
* Move docs/source/changes.rst to CHANGES.rst
* Use sphinx-issues for CHANGES.rst, make corrections
* Move recent changes from README.md to CHANGES.rst
* Add miscellaneous documentation for exceptions and finder module
  • Loading branch information
mwtoews authored Jan 19, 2024
1 parent afbc496 commit 5a9bb07
Show file tree
Hide file tree
Showing 17 changed files with 91 additions and 233 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ lib
.coverage
.tox
wheelhouse
.vscode/
*venv*
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ repos:
rev: v1.5.1
hooks:
- id: mypy
exclude: 'docs/.'
55 changes: 38 additions & 17 deletions docs/source/changes.txt → CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,38 +1,59 @@
.. _changes:
1.1.0: 2023-10-17
=================

- Python 3.8+ is now required (:PR:`273`)
- Move project metadata to pyproject.toml (:PR:`269`)
- Refactor built wheels for PyPI (:PR:`276`)
- Fix memory leak when breaking mid-way in _get_objects and _get_ids (:PR:`266`) (thanks :user:`akariv`!)

Changes
..............................................................................
1.0.1: 2022-10-12
=================

- Fix up type hints :PR:`243` (thanks :user:`oderby`)
- Python 3.11 wheels :PR:`250` (thanks :user:`ewouth`)

1.0.0: 2022-04-05
=================

- Python 3.7+ is now required (:PR:`212`) (thanks :user:`adamjstewart`!)
- Type hints (:PR:`215` and others) (thanks :user:`adamjstewart`!)
- Python 3.10 wheels, including osx-arm64 :PR:`224`
- Clean up libspatialindex C API mismatches :PR:`222` (thanks :user:`musicinmybrain`!)
- Many doc updates, fixes, and type hints (thanks :user:`adamjstewart`!) :PR:`212` :PR:`221` :PR:`217` :PR:`215`
- __len__ method for index :PR:`194`
- Prevent get_coordinate_pointers from mutating inputs #205 (thanks :user:`sjones94549`!)
- linux-aarch64 wheels :PR:`183` (thanks :user:`odidev`!)
- black (:PR:`218`) and flake8 (:PR:`145`) linting

0.9.3: 2019-12-10
=================

- find_library and libspatialindex library loading https://github.com/Toblerity/rtree/pull/131
- find_library and libspatialindex library loading :PR:`131`

0.9.2: 2019-12-09
=================

- Refactored tests to be based on unittest https://github.com/Toblerity/rtree/pull/129
- Update libspatialindex library loading code to adapt previous behavior https://github.com/Toblerity/rtree/pull/128
- Empty data streams throw exceptions and do not partially construct indexes https://github.com/Toblerity/rtree/pull/127
- Refactored tests to be based on unittest :PR:`129`
- Update libspatialindex library loading code to adapt previous behavior :PR:`128`
- Empty data streams throw exceptions and do not partially construct indexes :PR:`127`

0.9.0: 2019-11-24
=================

- Add Index.GetResultSetOffset()
- Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) #116
- Add Index.Flush() #107
- Add TPRTree index support (thanks @sdhiscocks #117 )
- Return container sizes without returning objects #90
- Add set_result_limit and set_result_offset for Index paging 44ad21aecd3f7b49314b9be12f3334d8bae7e827
- Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) :PR:`116`
- Add Index.Flush() :PR:`107`
- Add TPRTree index support (thanks :user:`sdhiscocks` :PR:`117`)
- Return container sizes without returning objects :PR:`90`
- Add set_result_limit and set_result_offset for Index paging :commit:`44ad21aecd3f7b49314b9be12f3334d8bae7e827`

Bug fixes:

- Better exceptions in cases where stream functions throw #80
- Better exceptions in cases where stream functions throw :PR:`80`
- Migrated CI platform to Azure Pipelines https://dev.azure.com/hobuinc/rtree/_build?definitionId=5
- Minor test enhancements and fixups. Both libspatialindex 1.8.5 and libspatialindex 1.9.3 are tested with CI



0.8: 2014-07-17
===============

Expand Down Expand Up @@ -69,7 +90,7 @@ Bug fixes:
- Many more docstrings, sphinx docs, etc


0.5.0: 2009-08-XX
0.5.0: 2009-08-06
=================

0.5.0 was a complete refactoring to use libsidx - a C API for libspatialindex.
Expand Down Expand Up @@ -112,8 +133,8 @@ available as a result of this refactoring.
- Reraise index query errors as Python exceptions.
- Improved persistence.

0.2:
==================
0.2: 19 May 2007
================
- Link spatialindex system library.

0.1: 13 April 2007
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include *.md *.txt
include *.md *.rst *.txt
include MANIFEST.in
recursive-include benchmarks *
recursive-include tests *
Expand Down
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,4 @@ Wheels are available for most major platforms, and `rtree` with bundled `libspat
pip install rtree
```

# Changes

## 1.1.0

* Python 3.8+ is now required (#273)
* Move project metadata to pyproject.toml (#269)
* Refactor built wheels for PyPI (#276)
* Fix memory leak when breaking mid-way in `_get_objects` and `_get_ids` (#266) (thanks @akariv!)

## 1.0.1

* Fix up type hints #243 (thanks @oderby)
* Python 3.11 wheels #250 (thanks @ewouth)

## 1.0.0


* Python 3.7+ is now required (#212) (thanks @adamjstewart!)
* Type hints (#215 and others) (thanks @adamjstewart!)
* Python 3.10 wheels, including osx-arm64 #224
* Clean up libspatialindex C API mismatches #222 (thanks @musicinmybrain!)
* Many doc updates, fixes, and type hints (thanks @adamjstewart!) #212 #221 #217 #215
* __len__ method for index #194
* Prevent get_coordinate_pointers from mutating inputs #205 (thanks @sjones94549!)
* linux-aarch64 wheels #183 (thanks @odidev!)
* black (#218) and flake8 (#145) linting
See [changes](https://rtree.readthedocs.io/en/latest/changes.html) for all versions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sphinx>=4
sphinx-issues
6 changes: 6 additions & 0 deletions docs/source/changes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _changes:

Changes
..............................................................................

.. include:: ../../CHANGES.rst
File renamed without changes.
Loading

0 comments on commit 5a9bb07

Please sign in to comment.