Skip to content

Edit version string format - #52

Open
shhyou wants to merge 1 commit into
the-little-typer:masterfrom
shhyou:patch-1
Open

Edit version string format#52
shhyou wants to merge 1 commit into
the-little-typer:masterfrom
shhyou:patch-1

Conversation

@shhyou

@shhyou shhyou commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

raco pkg is not in favor of leading zeroes in the version string, as specified by valid-version?. Therefore, change 0.01 to 0.1. Fixes #50.

> (require version/utils)
> (valid-version? "0.01")
#f
> (valid-version? "0.1")
#t

Using 0.01 causes spurious raco setup errors:

raco setup: --- checking package dependencies ---                  [18:03:56]
raco setup: invalid package version declaration:
raco setup:   package: "pie"
raco setup:   declared version: "0.01"
raco setup: --- summary of package problems ---                    [18:04:01]
raco setup: package has invalid version:
raco setup:   package: "pie"
raco setup:   version: "0.01"
failed
 in build-one
 in loop
make: *** [in-place] Error 1

The grammar of Racket's version string does not accept leading zeroes, so change it from 0.01 to 0.1.
@shhyou

This comment was marked as resolved.

@shhyou

shhyou commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@david-christiansen friendly ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package "pie" has invalid version

1 participant