Skip to content

updating versions#255

Open
philion wants to merge 5 commits intomainfrom
another-version-update
Open

updating versions#255
philion wants to merge 5 commits intomainfrom
another-version-update

Conversation

@philion
Copy link
Collaborator

@philion philion commented Apr 11, 2025

There always seem to be versions to update, and versions held back due to conflicts.

Current situation:

% flutter pub outdated
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name              Current  Upgradable  Resolvable  Latest

direct dependencies:
intl                      *0.19.0  *0.19.0     *0.19.0     0.20.2

dev_dependencies: all up-to-date.

transitive dependencies:
async                     *2.12.0  *2.12.0     *2.12.0     2.13.0
geolocator_android        *4.6.2   *4.6.2      *4.6.2      5.0.1
material_color_utilities  *0.11.1  *0.11.1     *0.11.1     0.12.0
unicode                   *0.3.1   *0.3.1      *0.3.1      1.1.8

transitive dev_dependencies:
fake_async                *1.3.2   *1.3.2      *1.3.2      1.3.3
leak_tracker              *10.0.8  *10.0.8     *10.0.8     10.0.9
vm_service                *14.3.1  *14.3.1     *14.3.1     15.0.0
You are already using the newest resolvable versions listed in the 'Resolvable' column.
Newer versions, listed in 'Latest', may not be mutually compatible.

Not sure the long-term solution for this, but everything runs as expected (on my laptop) with these versions.

@philion philion self-assigned this Apr 11, 2025
@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

Failing due to:

Because flutter_map 8.1.1 requires SDK version >=3.6.0 <4.0.0 and no versions of flutter_map match >8.1.1 <9.0.0, flutter_map ^8.1.1 is forbidden.
So, because support_sphere depends on flutter_map ^8.1.1, version solving failed.

@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

Now failing due to:

Run flutter build web --web-renderer html --dart-define=SUPABASE_ANON_KEY=*** --dart-define=SUPABASE_URL=***
Could not find an option named "--web-renderer".

Quick research reveals: https://stackoverflow.com/questions/79258666/flutter-build-web-could-not-find-an-option-named-web-renderer

It seems that the argument --web-renderer is no longer available in flutter. Based on the Web renderers, I think it is replaced by --wasm and --no-wasm arguments.

Grepping the code base, I find --web-renderer html option set in:

  • .github/workflows/web-main.yaml
  • .github/workflows/webpreview.yaml

It looks like that option has been removed and replaced with smart defaults. See: https://docs.flutter.dev/platform-integration/web/renderers

I will try simply removing.

@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

Now the deployment is failing with:

Run nwtgck/actions-netlify@v3.0
Error: The action 'Deploy Website Preview' has timed out after 1 minutes.

This is the final job of the webpreview.yaml action:

- name: Deploy Website Preview
      if: always()
      uses: nwtgck/actions-netlify@v3.0
      with:
        publish-dir: './src/support_sphere/build/web'
        github-token: ${{ secrets.GITHUB_TOKEN }}
        deploy-message: "Deploy from GitHub Actions"
        enable-github-deployment: false
        enable-commit-status: false
        enable-commit-comment: false
        enable-pull-request-comment: true
        overwrites-pull-request-comment: true
        alias: deploy-preview-${{ github.event.number }}
      env:
        NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
        NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
      timeout-minutes: 1

Based on watching the failure, and it being consistent with the config, it looks like a ligtimate timeout/failure on the netlify side. I don't have access to any accounts there to check.

@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

One last attempt: increase the timeout from 1 to 3 minutes and see what happens.

@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

This attempt is an auth error:

Run nwtgck/actions-netlify@v3.0
Error: Unauthorized

This is as far as I can go without access to netify.

@philion
Copy link
Collaborator Author

philion commented Apr 11, 2025

Pinging @kheimerl - Do you know anything about netlify? The only reference in the codebase is the web preview job.

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.

1 participant