Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !899

Merged
Created Feb 01, 2021 by Jérome Perrin@jeromeOwner

software/*: version up urllib3, requests and dependencies

  • Overview 4
  • Commits 1
  • Pipelines 6
  • Changes 9

Several softwares were using fixed versions, but versions are also defined in stack/slapos.cfg, so let's use from stack/slapos.cfg which will simplify version management.

This urllib3 has visible changes for us, it no longer send the request path "as is", but normalizes the . and .. which is not what we want in caddy-frontend test, so we adjust the test to use prepared requests, which is the recommended approach for this kind of low level needs. Since prepared requests does not set default user agent "python-requests", tests checking that user agent is in log files have been adjusted to use a dedicated test user agent header.

Another change is that certificates are now verified by default, so we adjust seleniumserver tests to disable certificate validation. jstestnode, already had a patch regarding certificate validation, because we wanted certificates to be validated before it was the default. We just update this patch a bit because we want to keep the optional behaviours of validating against a specific CA or to disable validation

Edited Feb 04, 2021 by Jérome Perrin
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/urllib3-pins
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7