This is an automated email from the git hooks/post-receive script.
atagar pushed a change to branch maint in repository stem.
from fc34a398 Stem maintenance version tag new e599dc01 Replace client_auth_v3 arg versionchanged new af71483f Fixup for Python 3.10 new cea85f60 Add .gitlab-ci.yml new 6777db05 Add note about maintenance status new 032f0bd2 Stem release 1.8.1 new 21fe5507 Bump maintenance version
The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
Summary of changes: .gitlab-ci.yml | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 7 ++++ docs/index.rst | 10 ++++- stem/__init__.py | 2 +- stem/control.py | 6 +-- 5 files changed, 141 insertions(+), 5 deletions(-) create mode 100644 .gitlab-ci.yml
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit e599dc01e24ed5536d1f3e6cfa5bbbe2ee9388de Author: juga juga@riseup.net AuthorDate: Mon Sep 26 15:51:25 2022 +0000
Replace client_auth_v3 arg versionchanged
from 1.9.0 to 1.8.1, since it was probably an error. --- stem/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/control.py b/stem/control.py index 6a53221e..e93bf58b 100644 --- a/stem/control.py +++ b/stem/control.py @@ -3025,7 +3025,7 @@ class Controller(BaseController): .. versionchanged:: 1.7.0 Added the timeout and max_streams arguments.
- .. versionchanged:: 1.9.0 + .. versionchanged:: 1.8.1 Added the client_auth_v3 argument.
:param int,list,dict ports: hidden service port(s) or mapping of hidden
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit af71483f50bcfb0fc1eeff1f1686b9a13c91d749 Author: Calin Culianu calin.culianu@gmail.com AuthorDate: Mon Nov 8 18:15:59 2021 -0600
Fixup for Python 3.10
Closes issue #109. Long story short: a few names from collection are now moved to collection.abc exclusively starting in Python 3.10. The only name this app uses from there that was moved is `collections.Iterable`. Python versions starting from 3.3 support both `collections.Iterable` and `collections.abc.Iterable` as the way to refer to this class, which Python 3.10 being the first one to drop `collections.Iterable`. So.. we just work around this API quirk and always refer ot it as `collections.abc.Iterable`. --- stem/control.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stem/control.py b/stem/control.py index e93bf58b..e192e295 100644 --- a/stem/control.py +++ b/stem/control.py @@ -248,7 +248,7 @@ If you're fine with allowing your script to raise exceptions then this can be mo """
import calendar -import collections +import collections.abc import functools import inspect import io @@ -2532,7 +2532,7 @@ class Controller(BaseController): for param, value in params: if isinstance(value, str): query_comp.append('%s="%s"' % (param, value.strip())) - elif isinstance(value, collections.Iterable): + elif isinstance(value, collections.abc.Iterable): query_comp.extend(['%s="%s"' % (param, val.strip()) for val in value]) elif not value: query_comp.append(param)
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit cea85f6029aacdc43744a8c32278a6988a34dde0 Author: juga juga@riseup.net AuthorDate: Thu Sep 22 18:01:43 2022 +0000
Add .gitlab-ci.yml
to be able to check tests at gitlab.tpo, instead of updating travis configuration. --- .gitlab-ci.yml | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..d9d3a8bf --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,121 @@ +# core/tor releases: +# https://gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/CoreTorRelea... +# 0.4.9 +# 0.4.8 +# 0.4.7 stable by March 15, 2022 +# ~~0.4.6 EOL on or after June 15, 2022~~ +# 0.4.5 (LTS) EOL Feb 15, 2023 +# Python stable releases: https://www.python.org/downloads/ +# 3.10 EOL 2026-10, PEP 619 +# 3.9 EOL 2025-10, PEP 596 +# 3.8 EOL 2024-10, PEP 569 +# 3.7 EOL 2023-06-27, PEP 537 + +variables: + BASE_IMAGE: python:3.9 + RELEASE: tor-nightly-main-bullseye + # Without version, the default available in the Debian repository will be + # installed. + # Specifying which version starts with will install the highest that start + # with that version. + TOR: tor/tor-nightly-main-bullseye + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + +cache: + paths: + - .cache/pip + +image: $BASE_IMAGE + +before_script: + - "wget https://deb.torproject.org/torproject.org/%5C + A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc" + - cat A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | apt-key add - + - echo deb [signed-by=A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89] + http://deb.torproject.org/torproject.org $RELEASE + main >> /etc/apt/sources.list + - apt update -yqq + - apt install -yqq $TOR + - pip install tox + - python --version + - tor --version + +python37: + variables: + BASE_IMAGE: python:3.7 + script: + - tox -e py37 + +python38: + variables: + BASE_IMAGE: python:3.8 + script: + - tox -e py38 + +python39tor045: + variables: + RELEASE: tor-nightly-0.4.5.x-bullseye + TOR: tor/tor-nightly-0.4.5.x-bullseye + script: + - tox -e py39 + +python39tormaster: + # This will overwrite the default before_script, so need to repeat the + # commands + before_script: + - "wget https://deb.torproject.org/torproject.org/%5C + A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc" + - cat A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | apt-key add - + - echo deb [signed-by=A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89] + http://deb.torproject.org/torproject.org $RELEASE + main >> /etc/apt/sources.list + - apt update -yqq + - apt install -yqq $TOR + - pip install tox + - python --version + - tor --version + # To build the docs + - apt install -yqq texlive-latex-extra + - apt install -yqq dvipng + script: + - tox -e py39 + +python39torstable: + variables: + BASE_IMAGE: python:3.9 + RELEASE: bullseye + TOR: tor/bullseye + script: + - tox -e py39 + +python310: + variables: + BASE_IMAGE: python:3.10 + script: + - tox -e py310 + +release_job: + before_script: + - echo "Nothing" + after_script: + - echo "Nothing" + image: registry.gitlab.com/gitlab-org/release-cli:latest + only: [tags] + script: + - echo "Running release job." + release: + name: "Release $CI_COMMIT_TAG" + description: "Created using release-cli" + tag_name: "$CI_COMMIT_TAG" + ref: "$CI_COMMIT_TAG" + milestones: + - "stem: 1.8.1" + +pages: + before_script: + - pip install sphinx + script: + - cd docs && make html && mv _build/html ../public + artifacts: + paths: + - public
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit 6777db05632caa94238abba2143f1ef4864da54f Author: juga juga@riseup.net AuthorDate: Mon Sep 26 13:32:43 2022 +0000
Add note about maintenance status --- README.md | 7 +++++++ docs/index.rst | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md index 225b38d8..0f270adf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ ## Stem (Python Tor Library)
+**NOTE**: Stem is mostly unmaintained. However, you can still: + +* Open issues at https://github.com/torproject/stem/issues +* Work on an issue and open a pull request at https://github.com/torproject/stem/pulls +* Contact us (via tor-dev mailing list or gk at torproject dot org) to request + a new bugfix release including some patches in the Stem's `master` branch or + pull requests.
Stem is a Python controller library for **[Tor](https://www.torproject.org/)**. With it you can use Tor's [control protocol](https://gitweb.torproject.org/torspec.git/tree/control-spec.txt) to script against the Tor process, or build things such as [Nyx](https://nyx.torproject.org/).
diff --git a/docs/index.rst b/docs/index.rst index f5121ecc..d8639cf2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,7 +1,15 @@ Welcome to Stem! ================
-Stem is a Python controller library for `Tor https://www.torproject.org/`_. With it you can use Tor's `control protocol https://gitweb.torproject.org/torspec.git/tree/control-spec.txt`_ to script against the Tor process, or build things such as `Nyx https://nyx.torproject.org/`_. Stem's latest version is **1.8** (released December 29th, 2019). +.. NOTE:: Stem is mostly unmaintained. However, you can still: + + * Open issues at https://github.com/torproject/stem/issues + * Work on an issue and open a pull request at https://github.com/torproject/stem/pulls + * Contact us (via tor-dev mailing list or gk at torproject dot org) to request + a new bugfix release including some patches in the Stem's `master` branch or + pull requests. + +Stem is a Python controller library for `Tor https://www.torproject.org/`_. With it you can use Tor's `control protocol https://gitweb.torproject.org/torspec.git/tree/control-spec.txt`_ to script against the Tor process, or build things such as `Nyx https://nyx.torproject.org/`_. Stem's latest version is **1.8.1** (released September, 2022).
.. Main Stem Logo Source: http://www.wpclipart.com/plants/assorted/P/plant_stem.png.html
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit 032f0bd227892e17ec43bbaed401a3dd35068723 Author: juga juga@riseup.net AuthorDate: Thu Sep 22 18:27:52 2022 +0000
Stem release 1.8.1
Signed-off-by: juga juga@riseup.net --- stem/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/__init__.py b/stem/__init__.py index b53f6786..a7723fd1 100644 --- a/stem/__init__.py +++ b/stem/__init__.py @@ -507,7 +507,7 @@ import traceback import stem.util import stem.util.enum
-__version__ = '1.8.0-maint' +__version__ = '1.8.1' __author__ = 'Damian Johnson' __contact__ = 'atagar@torproject.org' __url__ = 'https://stem.torproject.org/'
This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch maint in repository stem.
commit 21fe5507cac5a1a647887f5644db2ae51b7b53dd Author: juga juga@riseup.net AuthorDate: Mon Sep 26 17:51:15 2022 +0000
Bump maintenance version --- stem/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/__init__.py b/stem/__init__.py index a7723fd1..0c68df7b 100644 --- a/stem/__init__.py +++ b/stem/__init__.py @@ -507,7 +507,7 @@ import traceback import stem.util import stem.util.enum
-__version__ = '1.8.1' +__version__ = '1.8.1-maint' __author__ = 'Damian Johnson' __contact__ = 'atagar@torproject.org' __url__ = 'https://stem.torproject.org/'
tor-commits@lists.torproject.org