You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running unit tests, several deprecation warnings appear:
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
Steps to Reproduce
Run unit tests: bundle exec rake spec:all spec/unit/middleware/rate_limiter_v2_api_spec.rb
Expected result
No deprecation warnings should be shown.
Current result
Deprecation warnings are shown, as above.
Possible Fix
The faraday-multipart dependency on multipart-post is known to be a common cause. This gem has been updated to a new version which could be used.
The text was updated successfully, but these errors were encountered:
Had a bit of a delve into this, but haven't had a chance to try fixes yet.
The two warnings are emitted (here and here) by versions above 2.2.0 of the gem multipart-post. We're consuming v2.2.3.
multipart-post is a child dependency of v0.17.5 of faraday, and it looks to me like the first version of that which won't suffer from this is going to be v2.0.0, which actually removedmultipart-post entirely as a dependency. This is roughly how we're consuming multipart-post at the moment:
Issue
When running unit tests, several deprecation warnings appear:
Steps to Reproduce
Run unit tests:
bundle exec rake spec:all spec/unit/middleware/rate_limiter_v2_api_spec.rb
Expected result
No deprecation warnings should be shown.
Current result
Deprecation warnings are shown, as above.
Possible Fix
The
faraday-multipart
dependency onmultipart-post
is known to be a common cause. This gem has been updated to a new version which could be used.The text was updated successfully, but these errors were encountered: