[Git][debian-gis-team/pyosmium][upstream] New upstream version 3.4.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu Jul 28 09:30:28 BST 2022
Bas Couwenberg pushed to branch upstream at Debian GIS Project / pyosmium
Commits:
207c726f by Bas Couwenberg at 2022-07-28T09:56:13+02:00
New upstream version 3.4.1
- - - - -
3 changed files:
- CHANGELOG.md
- doc/conf.py
- src/osmium/version.py
Changes:
=====================================
CHANGELOG.md
=====================================
@@ -4,6 +4,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## [3.4.1] - 2022-07-28
+
+### Fixed
+
+- allow building docs from built sources in PYTHONPATH again
+
+
## [3.4.0] - 2022-07-27
### Fixed
=====================================
doc/conf.py
=====================================
@@ -28,17 +28,25 @@ if not os.path.exists(build_dir):
build_dir = "../build/lib.%s-%s" % (sysconfig.get_platform(),
sys.implementation.cache_tag)
if not os.path.exists(build_dir):
- print("""
- Compiled version of pyosmium not found, please build pyosmium for Python {}.{}
- before building the documentation.
- """.format(*sys.version_info))
- raise RuntimeError("Cannot find pyosmium")
+ # pybuild
+ build_dir = "../.pybuild/cpython3_%s.%s_pyosmium/build" % (
+ sys.version_info[0], sys.version_info[1]
+ )
+
+if os.path.exists(build_dir):
+ sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath('.'), build_dir)))
# insert after the current directory
-sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath('.'), build_dir)))
sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath('.'), '../tools')))
-from osmium.version import pyosmium_major, pyosmium_release
+try:
+ from osmium.version import pyosmium_major, pyosmium_release
+except ImportError:
+ print("""
+ Compiled version of pyosmium not found, please build pyosmium for Python {}.{}
+ before building the documentation.
+ """.format(*sys.version_info))
+ raise RuntimeError("Cannot find pyosmium")
# -- General configuration ------------------------------------------------
=====================================
src/osmium/version.py
=====================================
@@ -5,7 +5,7 @@ Version information.
# the major version
pyosmium_major = '3.4'
# current release (Pip version)
-pyosmium_release = '3.4.0'
+pyosmium_release = '3.4.1'
# libosmium version shipped with the Pip release
libosmium_version = '2.18.0'
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/-/commit/207c726fb74bbdfa1c289d935b077bc92fbdce7a
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyosmium/-/commit/207c726fb74bbdfa1c289d935b077bc92fbdce7a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220728/3f6975b4/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list