Skip to content

Commit

Permalink
Fix setuptools_scm versioning when using pyproject (#1274)
Browse files Browse the repository at this point in the history
ali-bot is not updated properly in CI when using pyproject.toml because setuptools_scm's configuration is broken.

This fixes it and allows CI to auto-update ali-bot again.
  • Loading branch information
TimoWilken authored Nov 30, 2023
1 parent 6135d6d commit 8e225ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"

[project]
name = 'ali-bot'
dynamic = ['readme']
dynamic = ['readme', 'version']

description = 'ALICE Multipurpose bot'
authors = [
Expand Down Expand Up @@ -36,7 +36,6 @@ dependencies = [
'boto3'
]

version = "2.0.0"
[project.optional-dependencies]
services = [
"Twisted==18.9.0",
Expand All @@ -52,8 +51,10 @@ ci = [
utils = [
"python-nomad"
]

[project.urls]
homepage = 'https://alisw.github.io/ali-bot'

[scripts]
# Continuous Integration
set-github-status = {path = "set-github-status"}
Expand Down

0 comments on commit 8e225ac

Please sign in to comment.