Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update development setup and instructions #3777

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

kriswuollett
Copy link
Contributor

Addresses these issues:

  • minimum rust version is now 1.70.0 because of anstream and clap_complete
  • the homebrew formula postgresql has been replaced by versioned ones, e.g., postgresql@14

@weiznich weiznich requested a review from a team September 5, 2023 15:12
rust-toolchain Outdated
@@ -1 +1 @@
1.68.0
1.70.0
Copy link
Member

Choose a reason for hiding this comment

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

I can understand why you made this change but that's technically not the correct MSRV. Diesel defines that as the rust version which can be used to build diesel with some set of dependency versions with. That's not necessarily the newest version of each dependency. We test this with the -Z minimal-version flag on CI and that test cannot really fail just because someone released a new version of a dependency.

Now I can understand that the current setup might be problematic for new contributors, so I'm open for that change. We should change the commit message for that.

Additionally it seems like there are some other CI issues due to new deprecated methods in chrono. Mind adding a commit addressing them as well?

CONTRIBUTING.md Outdated
@@ -65,7 +65,7 @@ Thank you! We'll try to respond as quickly as possible.

*Shortcut:* On macOS, you don't need to install anything to work with SQLite.
For PostgreSQL, you'll only need the server (`libpq` is installed by
default). To get started, `brew install postgresql mysql` and follow the
default). To get started, `brew install postgresql@14 mysql` and follow the
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should indicate that newer versions work there as well?

The forumula are now versioned, e.g., `postgresql@14`. Previously it was just
`postgresql`.

fix: bump rust toolchain to 1.72.1 as this is the latest stable now
@weiznich weiznich enabled auto-merge September 28, 2023 05:23
@weiznich weiznich added this pull request to the merge queue Sep 28, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 28, 2023
@weiznich weiznich added this pull request to the merge queue Sep 28, 2023
Merged via the queue into diesel-rs:master with commit e014ffa Sep 28, 2023
31 checks passed
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.

2 participants