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 client libs for test_runner/pg_clients to their latest versions #7022

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test_runner/pg_clients/csharp/npgsql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /source

COPY *.csproj .
Expand All @@ -7,7 +7,7 @@ RUN dotnet restore
COPY . .
RUN dotnet publish -c release -o /app --no-restore

FROM mcr.microsoft.com/dotnet/runtime:7.0
FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app
COPY --from=build /app .

Expand Down
4 changes: 2 additions & 2 deletions test_runner/pg_clients/csharp/npgsql/csharp-npgsql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Npgsql" Version="7.0.4" />
<PackageReference Include="Npgsql" Version="8.0.2" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions test_runner/pg_clients/java/jdbc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM openjdk:20
FROM openjdk:21
WORKDIR /source

COPY . .

WORKDIR /app
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.6.0.jar && \
RUN curl --output postgresql.jar https://jdbc.postgresql.org/download/postgresql-42.7.2.jar && \
javac -d /app /source/Example.java

CMD ["java", "-cp", "/app/postgresql.jar:.", "Example"]
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/asyncpg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
WORKDIR /source

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/asyncpg/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
asyncpg==0.27.0
asyncpg==0.29.0
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/pg8000/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
WORKDIR /source

COPY . .
Expand Down
2 changes: 1 addition & 1 deletion test_runner/pg_clients/python/pg8000/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pg8000==1.29.8
pg8000==1.30.5
scramp>=1.4.3
Loading
Loading