ualbertalib / pushmi_pullyu

Ruby application to manage flow of content from Fedora into Swift for preservation
MIT License
1 stars 3 forks source link

Ruby 3.x #251

Open pgwillia opened 2 years ago

pgwillia commented 2 years ago

Ruby 2.7 will be end of life March 2023.

Currently bagit prevents us from doing this upgrade. Asked about it https://github.com/tipr/bagit/issues/46.

image

    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest]
        # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
        ruby: [2.7, '3.0']
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        # bundler-cache: true # runs 'bundle install' and caches installed gems automatically, but this yielded an error with '3.0'
        # Error: The process '/opt/hostedtoolcache/Ruby/3.0.4/x64/bin/bundle' failed with exit code 6
        # but this could have just been the dependency resolving issues discussed above
    - name: Install dependencies
      run: bundle install
pgwillia commented 1 year ago

image

Additionally the openstack gem we use is no longer being maintained. It is also preventing us from upgrading.

pgwillia commented 1 year ago

I should have commented that the issue with bagit was resolved.