You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our requirements for our built-system look like this, requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]. setuptools_scm is a tool that automatically sets our project version based on our version controll system (in our case Git). Currently the version is explicitly stated, version = "1.0.0", so setuptools_scm does nothing. @hadijannat can you take a look at this? I think we should either remove setuptools_scm and always manually change our project version in the pyproject.toml file or set it up correctly so that we only change the version per Git and it is copied automatically.
The text was updated successfully, but these errors were encountered:
@frosty Thanks for bringing this up. I agree that we should adequately configure setuptools_scm to manage our project versioning automatically. Here's what we can do in a new pull request to implement Option 2 (Automated versioning):
Keep setuptools_scm[toml]>=6.2 in the build-system requires (already done).
Remove the explicit version from the project section.
Add a tool.setuptools_scm section to configure version management.
Here's the proposed change to our pyproject.toml:
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "basyx-python-sdk"# The explicit version line has been removed from heredescription = "The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell for Industry 4.0 systems"authors = [
{ name = "The Eclipse BaSyx Authors", email = "[email protected]" }
]
# ... (rest of the project section remains unchanged)# Add this new section at the end of the file
[tool.setuptools_scm]
write_to = "basyx/_version.py"´´´What do you think :)?
Currently our requirements for our built-system look like this,
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
.setuptools_scm
is a tool that automatically sets our project version based on our version controll system (in our case Git). Currently the version is explicitly stated,version = "1.0.0"
, so setuptools_scm does nothing. @hadijannat can you take a look at this? I think we should either remove setuptools_scm and always manually change our project version in the pyproject.toml file or set it up correctly so that we only change the version per Git and it is copied automatically.The text was updated successfully, but these errors were encountered: