Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #34166
Closed
Open
Created Jun 22, 2017 by Bence Nagy@underyx

Extra characters matched as requirements.txt package links

Summary

Lines using the compatibility operator (~=) like pytest~=3.0 get pytest~ matched as the package name.

Steps to reproduce

Open https://gitlab.com/coala/coala-utils/blob/b808a9233c51fdbe2849910c31b2c086f14fec28/test-requirements.txt#L2

Example Project

https://gitlab.com/coala/coala-utils/blob/b808a9233c51fdbe2849910c31b2c086f14fec28/test-requirements.txt#L2

What is the current bug behavior?

The line is transformed into [pytest~](https://pypi.python.org/pypi/pytest~)=3.0

What is the expected correct behavior?

It should be [pytest](https://pypi.python.org/pypi/pytest)~=3.0 instead.

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com

Possible fixes

Assignee
Assign to
Time tracking