Skip to content

Commit

Permalink
Replace packaging with packvers
Browse files Browse the repository at this point in the history
Reference: #95
  • Loading branch information
alok1304 committed Jan 6, 2025
1 parent 9c15915 commit 715780c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pyparsing==2.4.7
semantic-version==2.8.5
semver==2.13.0
isort==5.10.1
packvers==21.5
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ python_requires = >=3.8

install_requires =
attrs
packaging
packvers
semantic-version
semver

Expand Down
4 changes: 2 additions & 2 deletions src/univers/version_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

import attr
import semantic_version
from packaging.specifiers import InvalidSpecifier
from packaging.specifiers import SpecifierSet
from packvers.specifiers import InvalidSpecifier
from packvers.specifiers import SpecifierSet
from semantic_version.base import AllOf
from semantic_version.base import AnyOf

Expand Down
2 changes: 1 addition & 1 deletion src/univers/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import attr
import semantic_version
from packaging import version as packaging_version
from packvers import version as packaging_version

from univers import arch
from univers import debian
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pypi_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from unittest import TestCase

from packaging import version as packaging_version
from packvers import version as packaging_version

from univers.versions import InvalidVersion
from univers.versions import PypiVersion
Expand Down

0 comments on commit 715780c

Please sign in to comment.