Skip to content

Loosen user_agent_parser constraint to allow minor updates#33

Open
Pezmc wants to merge 1 commit intostatsig-io:mainfrom
Pezmc:patch-1
Open

Loosen user_agent_parser constraint to allow minor updates#33
Pezmc wants to merge 1 commit intostatsig-io:mainfrom
Pezmc:patch-1

Conversation

@Pezmc
Copy link

@Pezmc Pezmc commented Oct 28, 2025

~> 2.18.0 allows >= 2.18.0 and < 2.19.0, which blocks installing user_agent_parser 2.19+ (e.g. 2.20.x).

This PR changes the dependency to ~> 2.18, which allows >= 2.18 and < 3.0.
That includes 2.20.x while staying within the same major version.

Why

  • We need to upgrade user_agent_parser to 2.20.x.
  • statsig currently pins ~> 2.18.0, excluding 2.19+.
  • ~> 2.18 keeps compatibility and permits minor and patch releases.

Digging into the git history, it doesn't appear like limiting to patch versions was intentional: 63f853b

~> 2.18.0 only allows versions >= 2.18.0 and < 2.19.0.
This blocks installing user_agent_parser 2.20.x.
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