[med-svn] [Git][med-team/python-pyfaidx][upstream] New upstream version 0.7.2.2
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Tue Nov 28 21:19:34 GMT 2023
Étienne Mollier pushed to branch upstream at Debian Med / python-pyfaidx
Commits:
6b70bd6f by Étienne Mollier at 2023-09-25T20:38:16+02:00
New upstream version 0.7.2.2
- - - - -
4 changed files:
- README.rst
- .codecov.yml → codecov.yml
- pyfaidx/__init__.py
- pyproject.toml
Changes:
=====================================
README.rst
=====================================
@@ -1,4 +1,4 @@
-|CI| |Package| |PyPI| |Coverage| |Depsy|
+|CI| |Package| |PyPI| |Coverage| |Depsy| |Downloads|
Description
-----------
@@ -646,3 +646,6 @@ Comprehensive Cancer Center in the Department of Oncology.
.. |Package| image:: https://github.com/mdshw5/pyfaidx/actions/workflows/pypi.yml/badge.svg
:target: https://github.com/mdshw5/pyfaidx/actions/workflows/pypi.yml
+
+.. |Downloads| image:: https://img.shields.io/pypi/dm/pyfaidx.svg
+ :target: https://pypi.python.org/pypi/pyfaidx/
=====================================
.codecov.yml → codecov.yml
=====================================
=====================================
pyfaidx/__init__.py
=====================================
@@ -18,7 +18,11 @@ from math import ceil
from os.path import getmtime
from tempfile import TemporaryFile
from threading import Lock
-from pkg_resources import get_distribution
+
+try:
+ from importlib.metadata import version
+except ImportError: #python < 3.8
+ from importlib_metadata import version
from six import PY2, PY3, integer_types, string_types
from six.moves import zip_longest
@@ -33,7 +37,7 @@ try:
except ImportError:
fsspec = None
-__version__ = get_distribution("pyfaidx").version
+__version__ = version("pyfaidx")
if sys.version_info > (3, ):
buffer = memoryview
=====================================
pyproject.toml
=====================================
@@ -28,7 +28,8 @@ classifiers = [
]
dependencies = [
"six",
- "setuptools"
+ "setuptools",
+ "importlib_metadata"
]
dynamic = ["version"]
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/-/commit/6b70bd6f325226265ae819853766510b8c82abbe
--
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/-/commit/6b70bd6f325226265ae819853766510b8c82abbe
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20231128/bb914f11/attachment-0001.htm>
More information about the debian-med-commit
mailing list