Skip to content

Update to nim 2 x#75

Merged
2-towns merged 19 commits intomasterfrom
update-to-nim-2-x
Feb 13, 2025
Merged

Update to nim 2 x#75
2-towns merged 19 commits intomasterfrom
update-to-nim-2-x

Conversation

@2-towns
Copy link
Contributor

@2-towns 2-towns commented Dec 13, 2024

This PR contains the changes to move to Nim 2.0. It includes dependency updates and one fix for trying to set nil to a distinct pointer, which is no longer supported by Nim 2.0:

7e053e5

benbierens
benbierens previously approved these changes Feb 11, 2025
datastore.nimble Outdated
"leveldbstatic >= 0.1.6",
"stew",
"unittest2"
"sqlite3_abi == 3.47.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do other minor versions break the build? eg

Suggested change
"sqlite3_abi == 3.47.0.0",
"sqlite3_abi >= 3.47.0.0 & < 4.0.0.0",

datastore.nimble Outdated
"stew",
"unittest2"
"sqlite3_abi == 3.47.0.0",
"leveldbstatic >= 0.2.0 & < 1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a lot of nim libs use the second digit as a major version indicator 🤷 It should not be the case imo.

Suggested change
"leveldbstatic >= 0.2.0 & < 1.0.0",
"leveldbstatic >= 0.2.0 & < 0.3.0",

datastore.nimble Outdated
Comment on lines +15 to +16
"stew >= 0.2.0",
"unittest2 >= 0.2.3"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"stew >= 0.2.0",
"unittest2 >= 0.2.3"
"stew >= 0.2.0 & < 0.3.0",
"unittest2 >= 0.2.3 & < 0.3.0"

@2-towns 2-towns merged commit 39000fd into master Feb 13, 2025
6 checks passed
@2-towns 2-towns deleted the update-to-nim-2-x branch February 13, 2025 19:27
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.

3 participants