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

Bump nokogiri from 1.13.9 to 1.13.10 #40

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2022

Bumps nokogiri from 1.13.9 to 1.13.10.

Release notes

Sourced from nokogiri's releases.

1.13.10 / 2022-12-07

Security

Improvements

  • [CRuby] XML::Reader#attribute_hash now returns nil on parse errors. This restores the behavior of #attributes from v1.13.7 and earlier. [#2715]

sha256 checksums:

777ce2e80f64772e91459b943e531dfef387e768f2255f9bc7a1655f254bbaa1  nokogiri-1.13.10-aarch64-linux.gem
b432ff47c51386e07f7e275374fe031c1349e37eaef2216759063bc5fa5624aa  nokogiri-1.13.10-arm64-darwin.gem
73ac581ddcb680a912e92da928ffdbac7b36afd3368418f2cee861b96e8c830b  nokogiri-1.13.10-java.gem
916aa17e624611dddbf2976ecce1b4a80633c6378f8465cff0efab022ebc2900  nokogiri-1.13.10-x64-mingw-ucrt.gem
0f85a1ad8c2b02c166a6637237133505b71a05f1bb41b91447005449769bced0  nokogiri-1.13.10-x64-mingw32.gem
91fa3a8724a1ce20fccbd718dafd9acbde099258183ac486992a61b00bb17020  nokogiri-1.13.10-x86-linux.gem
d6663f5900ccd8f72d43660d7f082565b7ffcaade0b9a59a74b3ef8791034168  nokogiri-1.13.10-x86-mingw32.gem
81755fc4b8130ef9678c76a2e5af3db7a0a6664b3cba7d9fe8ef75e7d979e91b  nokogiri-1.13.10-x86_64-darwin.gem
51d5246705dedad0a09b374d09cc193e7383a5dd32136a690a3cd56e95adf0a3  nokogiri-1.13.10-x86_64-linux.gem
d3ee00f26c151763da1691c7fc6871ddd03e532f74f85101f5acedc2d099e958  nokogiri-1.13.10.gem
Changelog

Sourced from nokogiri's changelog.

1.13.10 / 2022-12-07

Security

Improvements

  • [CRuby] XML::Reader#attribute_hash now returns nil on parse errors. This restores the behavior of #attributes from v1.13.7 and earlier. [#2715]
Commits
  • 4c80121 version bump to v1.13.10
  • 85410e3 Merge pull request #2715 from sparklemotion/flavorjones-fix-reader-error-hand...
  • 9fe0761 fix(cruby): XML::Reader#attribute_hash returns nil on error
  • 3b9c736 Merge pull request #2717 from sparklemotion/flavorjones-lock-psych-to-fix-bui...
  • 2efa87b test: skip large cdata test on system libxml2
  • 3187d67 dep(dev): pin psych to v4 until v5 builds in CI
  • a16b4bf style(rubocop): disable Minitest/EmptyLineBeforeAssertionMethods
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 8, 2022
@perlun
Copy link
Owner

perlun commented Dec 19, 2022

Seems to fail in CI like this:

Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_i18n/en/_posts/2017-03-17-new-features-in-c-sharp-6-0-and-7-0.md':
Traceback (most recent call last): File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 303, in start res = self.get_data(method, lexer, args, kwargs, text) File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 167, in get_data text = text.decode('utf-8') AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 348, in main() File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 345, in main mentos.start() File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 313, in start _write_error(tb) File "/home/runner/work/perlun.eu.org/perlun.eu.org/vendor/bundle/ruby/2.6.0/gems/pygments.rb-1.2.1/lib/pygments/mentos.py", line 38, in _write_error sys.stdout.write(out_header + "\n") TypeError: can't concat str to bytes

I'm really sick and tired of this website being maintained with Jekyll TBH; we should spend the time to convert it to sitegen instead: #26

@perlun
Copy link
Owner

perlun commented Dec 19, 2022

Seems to fail in CI like this:

The underlying cause is probably the change from Ubuntu 20.04 in e.g. https://github.com/perlun/perlun.eu.org/actions/runs/3535409818 to 22.04 in the CI job in this PR: https://github.com/perlun/perlun.eu.org/actions/runs/3645334300/jobs/6155393582. This change dropped Python 2.7 support entirely. We'll probably need to figure out a way to make pygments.rb-1.2.1 work on Python 3, or live with the fact that CI is permanently broken for now. 😬

(Or wait, can we just revert the Actions CI image to Ubuntu 20.04? Maybe we can. We seem to have specified runs-on: ubuntu-latest , and this was changed 4 days ago to point to Ubuntu 22.04 (actions/runner-images#6776). That PR has the details on how to pin ourselves to Ubuntu 20.04 for now.)

@perlun
Copy link
Owner

perlun commented Jan 6, 2024

(Or wait, can we just revert the Actions CI image to Ubuntu 20.04? Maybe we can. We seem to have specified runs-on: ubuntu-latest , and this was changed 4 days ago to point to Ubuntu 22.04 (actions/runner-images#6776). That PR has the details on how to pin ourselves to Ubuntu 20.04 for now.)

I think I fixed this in 81254d8. The commit message has lots more details there.

@perlun
Copy link
Owner

perlun commented Jan 6, 2024

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2024

Superseded by #43.

@dependabot dependabot bot closed this Jan 6, 2024
@dependabot dependabot bot deleted the dependabot/bundler/nokogiri-1.13.10 branch January 6, 2024 07:09
@perlun
Copy link
Owner

perlun commented Jan 6, 2024

@dependabot reopen

#43 doesn't work for us since we still use Ruby 2.6.

@dependabot dependabot bot reopened this Jan 6, 2024
@dependabot dependabot bot restored the dependabot/bundler/nokogiri-1.13.10 branch January 6, 2024 07:12
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/nokogiri-1.13.10 branch from 2b556af to 60a7041 Compare January 6, 2024 07:13
perlun added a commit that referenced this pull request Jan 6, 2024
This paves the way for #40.
We could outright upgrade Nokogiri in this PR, but I'll let Dependabot
take the credit for that since it was the one who prompted the upgrade
in the first place. :)

The problem with #40 as it
currently stands is that it tries to use Nokogiri 1.16.0, which has
dropped both Ruby 2.6 support (in 1.14.0) and Ruby 2.7 (in 1.16.0). Both
of these Ruby versions have reached EOL, so we should certainly upgrade
our Ruby version as well but let's begin with addressing these
security-related PRs first.
perlun added a commit that referenced this pull request Jan 6, 2024
This paves the way for #40.
We could outright upgrade Nokogiri in this PR, but I'll let Dependabot
take the credit for that since it was the one who prompted the upgrade
in the first place. :)

The problem with #40 as it
currently stands is that it tries to use Nokogiri 1.16.0, which has
dropped both Ruby 2.6 support (in 1.14.0) and Ruby 2.7 (in 1.16.0). Both
of these Ruby versions have reached EOL, so we should certainly upgrade
our Ruby version as well but let's begin with addressing these
security-related PRs first.
perlun added a commit that referenced this pull request Jan 6, 2024
This paves the way for #40.
We could outright upgrade Nokogiri in this PR, but I'll let Dependabot
take the credit for that since it was the one who prompted the upgrade
in the first place. :)

The problem with #40 as it
currently stands is that it tries to use Nokogiri 1.16.0, which has
dropped both Ruby 2.6 support (in 1.14.0) and Ruby 2.7 (in 1.16.0). Both
of these Ruby versions have reached EOL, so we should certainly upgrade
our Ruby version as well but let's begin with addressing these
security-related PRs first.
@perlun
Copy link
Owner

perlun commented Jan 6, 2024

@dependabot rebase

@perlun
Copy link
Owner

perlun commented Jan 6, 2024

@dependabot recreate

@perlun
Copy link
Owner

perlun commented Jan 6, 2024

Btw, regarding this comment:

I'm really sick and tired of this website being maintained with Jekyll TBH; we should spend the time to convert it to sitegen instead: #26

I am not fully convinced about this part. Sitegen can perhaps be useful for some cases, but... isn't it easier to just use something more "mainstream" when we can? Also, I'm using some fairly advanced features in Jekyll here:

{% capture programming_2019 %}{% include category/programming/2019.md %}{% endcapture %}
{% capture programming_2020 %}{% include category/programming/2020.md %}{% endcapture %}
{% capture programming_2021 %}{% include category/programming/2021.md %}{% endcapture %}
{% capture programming_2022 %}{% include category/programming/2022.md %}{% endcapture %}
{{ programming_2019 | markdownify }}
{{ programming_2020 | markdownify }}
{{ programming_2021 | markdownify }}
{{ programming_2022 | markdownify }}

Maybe it's just easiest to stick with Jekyll for this web site for the time being. 🤔 I should perhaps aggregate this comment + some of these other comments + the details from 81254d8 into a proper issue, to improve discoverability.

@perlun
Copy link
Owner

perlun commented Jan 6, 2024

I should perhaps aggregate this comment + some of these other comments + the details from 81254d8 into a proper issue

Ah, we already have an issue: #26. I'll look at that now and perhaps add more details there if relevant.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2024

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/bundler/nokogiri-1.13.10 branch January 6, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant