Skip to content

Commit

Permalink
Update pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-f committed Dec 20, 2024
1 parent 28141ee commit bb4e6c0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["pip", "setuptools>=64", "setuptools-scm", "wheel", "twine"]
requires = ["pip", "setuptools>=64", "setuptools-scm>=8", "wheel", "twine"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -13,6 +13,11 @@ readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
Expand Down Expand Up @@ -55,14 +60,14 @@ docs = [
"markdown-include",
]

[console_scripts]
[project.scripts]
earth_osm = "earth_osm.__main__:main"

[tool.setuptools_scm]
version_scheme = "no-guess-dev"

[tool.setuptools.packages.find]
include = ["earth-osm"]
include = ["earth_osm"]

[tool.setuptools.package-data]
"earth_osm" = ["py.typed"]
Expand Down

1 comment on commit bb4e6c0

@davide-f
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mnm-matin ,

Unfortunately, despite the CI was passing, the version 2.3 is not working. Apologies, but that was totally unexpected...
To avoid this in the future, I can add a step in the CI/release phase.

I've tested the pip installation and with this version it should work.
To resolve this, we have at least 2 options [fell free to propose alternative]
a. we skip 2.3 and release 2.4 [or 3]
b. we release a post-release 2.3.post1 and we yank/delete 2.3

Do you have preferences?

Please sign in to comment.