[med-svn] [Git][med-team/pyensembl][upstream] New upstream version 2.3.11

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Mar 10 12:05:27 GMT 2024



Étienne Mollier pushed to branch upstream at Debian Med / pyensembl


Commits:
01087b24 by Étienne Mollier at 2024-03-10T12:59:42+01:00
New upstream version 2.3.11
- - - - -


3 changed files:

- deploy.sh
- pyensembl/shell.py
- pyensembl/version.py


Changes:

=====================================
deploy.sh
=====================================
@@ -4,4 +4,7 @@ python3 -m pip install --upgrade build && \
 python3 -m pip install --upgrade twine && \
 rm -rf dist && \
 python3 -m build && \
-python3 -m twine upload dist/*
+git --version && \
+python3 -m twine upload dist/* && \
+git tag "$(python3 pyensembl/version.py)" &&  \
+git push --tags


=====================================
pyensembl/shell.py
=====================================
@@ -43,15 +43,24 @@ import logging.config
 import pkg_resources
 import os
 
-from .ensembl_release import EnsemblRelease, MAX_ENSEMBL_RELEASE
+from .ensembl_release import EnsemblRelease
+from .ensembl_versions import MAX_ENSEMBL_RELEASE
 from .genome import Genome
 from .species import Species
+from .version import __version__
 
 logging.config.fileConfig(pkg_resources.resource_filename(__name__, "logging.conf"))
 logger = logging.getLogger(__name__)
 
 
 parser = argparse.ArgumentParser(usage=__doc__)
+
+parser.add_argument(
+    "--version", 
+    action="version",
+    version='%(prog)s {version}'.format(version=__version__)
+)
+
 parser.add_argument(
     "--overwrite",
     default=False,


=====================================
pyensembl/version.py
=====================================
@@ -1 +1,7 @@
-__version__ = "2.3.9"
+__version__ = "2.3.11"
+
+def print_version():
+    print(f"v{__version__}")
+
+if __name__ == "__main__":
+    print_version()



View it on GitLab: https://salsa.debian.org/med-team/pyensembl/-/commit/01087b24dd41994c3c3061ae7b15723caa863d8e

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyensembl/-/commit/01087b24dd41994c3c3061ae7b15723caa863d8e
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/20240310/d04e46eb/attachment-0001.htm>


More information about the debian-med-commit mailing list