-
Notifications
You must be signed in to change notification settings - Fork 216
Replies: 3 comments · 20 replies
-
The plan is to release with PROJ 9.1 in the wheels. Release Candidate 0 Status: Plan to release over the weekend. Testing is always appreciated, but definitely not required. |
Beta Was this translation helpful? Give feedback.
All reactions
-
That's what pybuild-plugin-pyproject uses:
It executes:
The project name and version are not set correctly which causes unpacking the wheel to fail:
The same can be seen for the setuptools build:
Only the
|
Beta Was this translation helpful? Give feedback.
All reactions
-
I am wondering if this will fix the issues: #1135 |
Beta Was this translation helpful? Give feedback.
All reactions
-
No, I had already added a patch to the package with the same build-system change. It shouldn't be required according to the pyproject.toml documentation:
Project name and version are still not set correctly for rc1:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Adding a minimal --- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,3 @@
+[metadata]
+name = pyproj
+version = 3.4.0rc1 Only the
|
Beta Was this translation helpful? Give feedback.
All reactions
-
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,53 @@
+[metadata]
+name = pyproj
+description = Python interface to PROJ (cartographic projections and coordinate transformations library)
+long_description = file: README.md
+long_description_content_type = text/markdown
+author = Jeff Whitaker
+author_email = [email protected]
+license = MIT
+license_file = LICENSE
+platform = any
+keywords = GIS, map, geospatial, coordinate-systems, coordinate-transformation, cartographic-projection, geodesic
+classifiers =
+ Development Status :: 4 - Beta
+ Intended Audience :: Science/Research
+ License :: OSI Approved :: MIT License
+ Operating System :: OS Independent
+ Programming Language :: Python
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
+ Programming Language :: Python :: 3 :: Only
+ Topic :: Scientific/Engineering
+ Topic :: Scientific/Engineering :: GIS
+ Topic :: Scientific/Engineering :: Mathematics
+ Topic :: Software Development :: Libraries :: Python Modules
+ Typing :: Typed
+url = https://github.com/pyproj4/pyproj
+download_url = http://python.org/pypi/pyproj
+project_urls =
+ Documentation = https://pyproj4.github.io/pyproj/
+ Release Notes = https://pyproj4.github.io/pyproj/stable/history.html
+ Bug Tracker = https://github.com/pyproj4/pyproj/issues
+ Source Code = https://github.com/pyproj4/pyproj
+
+[options]
+zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
+packages = pyproj,pyproj.crs
+python_requires = >=3.8
+install_requires =
+ certifi
+
+[options.entry_points]
+console_scripts =
+ pyproj = pyproj.__main__:main
+
+[flake8]
+max-line-length = 88
+ignore =
+ C408 # Unnecessary dict/list/tuple call - rewrite as a literal
+ E203 # whitespace before ':' - doesn't work well with black
+ E225 # missing whitespace around operator - let black worry about that
+ W503 # line break occurred before a binary operator - let black worry about that With this change the
Because the version is not set in
Adding version to --- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,54 @@
+[metadata]
+name = pyproj
+version = 3.4.0rc1
+description = Python interface to PROJ (cartographic projections and coordinate transformations library)
+long_description = file: README.md
+long_description_content_type = text/markdown
+author = Jeff Whitaker
+author_email = [email protected]
+license = MIT
+license_file = LICENSE
+platform = any
+keywords = GIS, map, geospatial, coordinate-systems, coordinate-transformation, cartographic-projection, geodesic
+classifiers =
+ Development Status :: 4 - Beta
+ Intended Audience :: Science/Research
+ License :: OSI Approved :: MIT License
+ Operating System :: OS Independent
+ Programming Language :: Python
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
+ Programming Language :: Python :: 3 :: Only
+ Topic :: Scientific/Engineering
+ Topic :: Scientific/Engineering :: GIS
+ Topic :: Scientific/Engineering :: Mathematics
+ Topic :: Software Development :: Libraries :: Python Modules
+ Typing :: Typed
+url = https://github.com/pyproj4/pyproj
+download_url = http://python.org/pypi/pyproj
+project_urls =
+ Documentation = https://pyproj4.github.io/pyproj/
+ Release Notes = https://pyproj4.github.io/pyproj/stable/history.html
+ Bug Tracker = https://github.com/pyproj4/pyproj/issues
+ Source Code = https://github.com/pyproj4/pyproj
+
+[options]
+zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
+packages = pyproj,pyproj.crs
+python_requires = >=3.8
+install_requires =
+ certifi
+
+[options.entry_points]
+console_scripts =
+ pyproj = pyproj.__main__:main
+
+[flake8]
+max-line-length = 88
+ignore =
+ C408 # Unnecessary dict/list/tuple call - rewrite as a literal
+ E203 # whitespace before ':' - doesn't work well with black
+ E225 # missing whitespace around operator - let black worry about that
+ W503 # line break occurred before a binary operator - let black worry about that The version is included in the dist-info:
Which matches previous results with
|
Beta Was this translation helpful? Give feedback.
All reactions
-
@sebastic My guess would be that you are using an older setuptools version? Storing the name and version of the project in the |
Beta Was this translation helpful? Give feedback.
All reactions
-
The python3-setuptool package in Debian unstable is 59.6.0, 63.2.0 is in experimental: https://tracker.debian.org/pkg/setuptools Ubuntu also doesn't have anything newer than 59.6: https://launchpad.net/ubuntu/+source/setuptools Fedora does have 61+: |
Beta Was this translation helpful? Give feedback.
All reactions
-
Is the |
Beta Was this translation helpful? Give feedback.
All reactions
-
There is no network in the Debian package build environment, downloading a newer setuptools for the build is not an option. |
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't have an opinion on how to solve this on the pyproj or debian side, but just to note that this will be a problem for any python package that starts to use that new feature of setuptools (for example, shapely comes to mind as well) |
Beta Was this translation helpful? Give feedback.
All reactions
-
Switching back to setup.cfg for this release: #1137 |
Beta Was this translation helpful? Give feedback.
All reactions
-
Some first tests on Fedora 37 look promising. This sequence of commands work well: tar zxvf pyproj-3.4.0rc1.tar.gz And installs the package in /usr/local/lib64/python3.11/site-packages/ as expected when executed as root. Also the testing, which I usually execute outside the source directory runs fine. Only with the building of the documentation I have a small issue. But building the html documentation fails. It gives me this error: Theme error: Disabling the line: An attempt has been made to package this furo theme for fedora, but it was abandoned due to getting too complicated. So my remaining question is, would you recommend not using a theme at all here, or should I patch the file to use some default theme that always is available in spinx? (and which one would that be?) |
Beta Was this translation helpful? Give feedback.
All reactions
-
The Line 98 in fa625e1
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Hopefully this will make overriding the theme a little simpler: #1139 |
Beta Was this translation helpful? Give feedback.
All reactions
-
Side note: Any theme would likely be fine. |
Beta Was this translation helpful? Give feedback.
-
This discussion was created from the release 3.4.0rc0.
Beta Was this translation helpful? Give feedback.
All reactions