Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyspnego for openSUSE:Factory
checked in at 2024-11-12 19:21:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyspnego (Old)
and /work/SRC/openSUSE:Factory/.python-pyspnego.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyspnego"
Tue Nov 12 19:21:51 2024 rev:18 rq:1223467 version:0.11.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyspnego/python-pyspnego.changes
2024-08-06 09:08:36.290384973 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyspnego.new.2017/python-pyspnego.changes
2024-11-12 19:22:42.258691810 +0100
@@ -1,0 +2,8 @@
+Mon Nov 11 20:27:41 UTC 2024 - Martin Hauke <[email protected]>
+
+- Update to version 0.11.2
+ * Fix CredSSP acceptor with LibreSSL.
+ * Bump dev deps and add 3.13 support.
+ * Update integration tests for 3.13.
+
+-------------------------------------------------------------------
Old:
----
pyspnego-0.11.1.tar.gz
New:
----
pyspnego-0.11.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyspnego.spec ++++++
--- /var/tmp/diff_new_pack.xur5vg/_old 2024-11-12 19:22:42.722711227 +0100
+++ /var/tmp/diff_new_pack.xur5vg/_new 2024-11-12 19:22:42.722711227 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyspnego
-Version: 0.11.1
+Version: 0.11.2
Release: 0
Summary: Python SPNEGO authentication library
License: MIT
++++++ pyspnego-0.11.1.tar.gz -> pyspnego-0.11.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/.github/workflows/ci.yml
new/pyspnego-0.11.2/.github/workflows/ci.yml
--- old/pyspnego-0.11.1/.github/workflows/ci.yml 2024-07-23
22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/.github/workflows/ci.yml 2024-11-11
20:59:29.000000000 +0100
@@ -60,6 +60,7 @@
- '3.10'
- '3.11'
- '3.12'
+ - '3.13'
python-arch:
- x86
- x64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/.pre-commit-config.yaml
new/pyspnego-0.11.2/.pre-commit-config.yaml
--- old/pyspnego-0.11.1/.pre-commit-config.yaml 2024-07-23 22:31:47.000000000
+0200
+++ new/pyspnego-0.11.2/.pre-commit-config.yaml 2024-11-11 20:59:29.000000000
+0100
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
- rev: 24.4.2
+ rev: 24.8.0
hooks:
- id: black
@@ -10,7 +10,7 @@
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.10.0
+ rev: v1.13.0
hooks:
- id: mypy
exclude: ^setup.py|build/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/CHANGELOG.md
new/pyspnego-0.11.2/CHANGELOG.md
--- old/pyspnego-0.11.1/CHANGELOG.md 2024-07-23 22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/CHANGELOG.md 2024-11-11 20:59:29.000000000 +0100
@@ -1,5 +1,10 @@
# Changelog
+## 0.11.2 - 2024-11-12
+
+* Fix up CredSSP acceptor when running with a LibreSSL based Python install
(OpenBSD)
+* Added official support for Python 3.13
+
## 0.11.1 - 2024-07-24
* Import `ARC4` cipher from the new `decrepits` module sub-package, this
removes the warning issued in newer versions of the `cryptography` library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/pyproject.toml
new/pyspnego-0.11.2/pyproject.toml
--- old/pyspnego-0.11.1/pyproject.toml 2024-07-23 22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/pyproject.toml 2024-11-11 20:59:29.000000000 +0100
@@ -22,7 +22,8 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12"
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13"
]
dependencies = [
"cryptography",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/requirements-test.txt
new/pyspnego-0.11.2/requirements-test.txt
--- old/pyspnego-0.11.1/requirements-test.txt 2024-07-23 22:31:47.000000000
+0200
+++ new/pyspnego-0.11.2/requirements-test.txt 2024-11-11 20:59:29.000000000
+0100
@@ -1,9 +1,9 @@
-black == 24.4.2
+black == 24.8.0
gssapi >= 1.5.0 ; sys_platform != 'win32'
k5test ; sys_platform != 'win32'
krb5 ; sys_platform != 'win32'
isort == 5.13.2
-mypy == 1.10.0
+mypy == 1.13.0
pre-commit
pytest
pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/src/spnego/_credssp.py
new/pyspnego-0.11.2/src/spnego/_credssp.py
--- old/pyspnego-0.11.1/src/spnego/_credssp.py 2024-07-23 22:31:47.000000000
+0200
+++ new/pyspnego-0.11.2/src/spnego/_credssp.py 2024-11-11 20:59:29.000000000
+0100
@@ -534,8 +534,10 @@
want_read = True
# We need to keep on sending the TLS packets until there is
nothing left to send.
+ # If we are an acceptor we still need to send an empty token
to the initiator.
+ # https://github.com/jborean93/pyspnego/issues/90
out_token = self._out_buff.read()
- if not out_token:
+ if not out_token and self.usage != "accept":
break
in_token = yield out_token
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/src/spnego/_version.py
new/pyspnego-0.11.2/src/spnego/_version.py
--- old/pyspnego-0.11.1/src/spnego/_version.py 2024-07-23 22:31:47.000000000
+0200
+++ new/pyspnego-0.11.2/src/spnego/_version.py 2024-11-11 20:59:29.000000000
+0100
@@ -1,4 +1,4 @@
# Copyright: (c) 2020, Jordan Borean (@jborean93) <[email protected]>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
-__version__ = "0.11.1"
+__version__ = "0.11.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/tests/integration/inventory.yml
new/pyspnego-0.11.2/tests/integration/inventory.yml
--- old/pyspnego-0.11.1/tests/integration/inventory.yml 2024-07-23
22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/tests/integration/inventory.yml 2024-11-11
20:59:29.000000000 +0100
@@ -29,6 +29,8 @@
- C:\Program Files (x86)\Python311-32
- C:\Program Files\Python312
- C:\Program Files (x86)\Python312-32
+ - C:\Program Files\Python313
+ - C:\Program Files (x86)\Python313-32
python_venv_path: C:\temp\venv
krb_provider: SSPI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/tests/integration/main.yml
new/pyspnego-0.11.2/tests/integration/main.yml
--- old/pyspnego-0.11.1/tests/integration/main.yml 2024-07-23
22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/tests/integration/main.yml 2024-11-11
20:59:29.000000000 +0100
@@ -1,6 +1,6 @@
- name: setup local configuration and scratch information
hosts: localhost
- gather_facts: no
+ gather_facts: false
tasks:
- name: create cert output folder
@@ -22,7 +22,7 @@
- name: get network adapter for each Windows host
hosts: windows
- gather_facts: no
+ gather_facts: false
tasks:
- name: get network connection for private adapter
ansible.windows.win_powershell:
@@ -64,7 +64,7 @@
- name: create Domain Controller
hosts: win_controller
- gather_facts: no
+ gather_facts: false
tasks:
- name: set the DNS for the specified adapter to localhost
ansible.windows.win_dns_client:
@@ -83,7 +83,7 @@
upn: '{{ domain_upn }}'
description: '{{ domain_username }} Domain Account'
password: '{{ domain_password }}'
- password_never_expires: yes
+ password_never_expires: true
update_password: on_create
groups:
add:
@@ -94,7 +94,7 @@
ansible.windows.win_whoami:
register: become_res
failed_when: become_res.upn != domain_upn
- become: yes
+ become: true
become_method: runas
vars:
ansible_become_user: '{{ domain_upn }}'
@@ -109,7 +109,7 @@
ansible.windows.win_certificate_store:
path: C:\Windows\TEMP\ldaps.pfx
password: password
- key_exportable: no
+ key_exportable: false
key_storage: machine
state: present
store_type: service
@@ -125,7 +125,7 @@
$dse.CommitChanges()
when: ldaps_cert_info is changed
vars:
- ansible_become: yes
+ ansible_become: true
ansible_become_method: runas
ansible_become_user: '{{ domain_upn }}'
ansible_become_pass: '{{ domain_password }}'
@@ -176,7 +176,7 @@
- name: join Windows host to domain
hosts: win_children
- gather_facts: no
+ gather_facts: false
tasks:
- name: set the DNS for the private adapter to point to the DC
ansible.windows.win_dns_client:
@@ -194,7 +194,7 @@
- name: trust hosts for delegation in AD
microsoft.ad.computer:
identity: SERVER2022$ # We only want to have this host with delegation
for testing
- trusted_for_delegation: yes
+ trusted_for_delegation: true
register: delegation_res
run_once: true
delegate_to: '{{ groups["win_controller"][0] }}'
@@ -219,7 +219,7 @@
ansible.windows.win_whoami:
register: become_res
failed_when: become_res.upn != domain_upn
- become: yes
+ become: true
become_method: runas
vars:
ansible_become_user: '{{ domain_upn }}'
@@ -246,7 +246,7 @@
- name: set up Python interpreters on test Windows host
hosts: SERVER2012R2
- gather_facts: no
+ gather_facts: false
tasks:
- name: install Python interpreters
ansible.windows.win_package:
@@ -279,11 +279,17 @@
- url: https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe
product_id: '{9AFDC691-40E5-4B15-835F-9A524AC4672C}'
arguments: /quiet InstallAllUsers=1 Shortcuts=0
- - url: https://www.python.org/ftp/python/3.12.4/python-3.12.4.exe
- product_id: '{104F0229-E76E-4C6B-B532-E55DE73A723E}'
+ - url: https://www.python.org/ftp/python/3.12.7/python-3.12.7.exe
+ product_id: '{CDE1679E-52FD-4AEA-9FA4-36E092E2B1D5}'
+ arguments: /quiet InstallAllUsers=1 Shortcuts=0
+ - url: https://www.python.org/ftp/python/3.12.7/python-3.12.7-amd64.exe
+ product_id: '{FF6D0E73-2F53-4CF9-BD2C-F144E4FA02FE}'
+ arguments: /quiet InstallAllUsers=1 Shortcuts=0
+ - url: https://www.python.org/ftp/python/3.13.0/python-3.13.0.exe
+ product_id: '{2CEFA2B5-14D8-4C3A-B023-B8B5F4A86282}'
arguments: /quiet InstallAllUsers=1 Shortcuts=0
- - url: https://www.python.org/ftp/python/3.12.4/python-3.12.4-amd64.exe
- product_id: '{62DD7DAF-6279-46FA-A06B-C4A541244045}'
+ - url: https://www.python.org/ftp/python/3.13.0/python-3.13.0-amd64.exe
+ product_id: '{09D95048-E91D-4F33-9197-1182FCA17B16}'
arguments: /quiet InstallAllUsers=1 Shortcuts=0
- name: ensure virtualenv package is installed for each Python install
@@ -354,7 +360,7 @@
- name: set up WinRM config and SMB shares on Windows hosts
hosts: windows
- gather_facts: no
+ gather_facts: false
tasks:
- name: set WinRM Cbt value to Strict
ansible.windows.win_powershell:
@@ -384,15 +390,15 @@
community.windows.win_firewall_rule:
name: File and Printer Sharing (SMB-In)
state: present
- enabled: yes
+ enabled: true
- name: set up Linux host
hosts: linux_children
- gather_facts: no
- become: yes
+ gather_facts: false
+ become: true
handlers:
- name: restart NetworkManager.service
- service:
+ ansible.builtin.service:
name: NetworkManager.service
state: restarted
@@ -444,13 +450,13 @@
name: '{{ inventory_hostname }}_{{ item }}'
description: Kerberos principal for {{ inventory_hostname }} {{ item }}
keytab
password: '{{ domain_password }}'
- password_never_expires: yes
+ password_never_expires: true
update_password: on_create
attributes:
set:
msDS-SupportedEncryptionTypes: 16 # AES256_CTS_HMAC_SHA1_96
state: present
- become: no
+ become: false
delegate_to: DC01
with_items:
- HTTP
@@ -468,7 +474,7 @@
-ptype KRB5_NT_PRINCIPAL
args:
creates: C:\temp\{{ inventory_hostname }}-{{ item }}.keytab
- become: no
+ become: false
delegate_to: DC01
with_items:
- HTTP
@@ -478,8 +484,8 @@
ansible.builtin.fetch:
src: C:\temp\{{ inventory_hostname }}-{{ item }}.keytab
dest: '{{ inventory_hostname }}-{{ item }}.keytab'
- flat: yes
- become: no
+ flat: true
+ become: false
delegate_to: DC01
with_items:
- HTTP
@@ -499,7 +505,7 @@
chdir: ~/
creates: ~/user.keytab
stdin: "addent -password -p {{ domain_upn }} -k 1 -e aes256-cts\n{{
domain_password }}\nwrite_kt user.keytab"
- become: no
+ become: false
when: krb_provider == 'MIT'
- name: create user keytab - Heimdal
@@ -514,7 +520,7 @@
args:
chdir: ~/
creates: ~/user.keytab
- become: no
+ become: false
when: krb_provider == 'Heimdal'
- name: copy across CA cert
@@ -531,21 +537,21 @@
ansible.builtin.file:
path: ~/wheels
state: directory
- become: no
+ become: false
- name: extract wheel artifacts
ansible.builtin.unarchive:
src: artifact.zip
dest: ~/wheels
- become: no
+ become: false
- name: get pyspnego artifact sdist filename
ansible.builtin.find:
paths: ~/wheels
patterns: 'pyspnego-*.tar.gz'
- recurse: no
+ recurse: false
file_type: file
- become: no
+ become: false
register: spnego_sdist_file
- name: verify sdist was found
@@ -569,7 +575,7 @@
virtualenv: '{{ python_venv_path }}/{{ item | basename }}'
virtualenv_python: '{{ item }}'
extra_args: --find-links file://{{ spnego_sdist_file.files[0].path |
dirname }}
- become: no
+ become: false
with_items: '{{ python_interpreters }}'
- name: template out test integration file
@@ -580,4 +586,4 @@
block_end_string: '!!}'
tags:
- template
- become: no
+ become: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyspnego-0.11.1/tests/integration/tests.yml
new/pyspnego-0.11.2/tests/integration/tests.yml
--- old/pyspnego-0.11.1/tests/integration/tests.yml 2024-07-23
22:31:47.000000000 +0200
+++ new/pyspnego-0.11.2/tests/integration/tests.yml 2024-11-11
20:59:29.000000000 +0100
@@ -1,47 +1,63 @@
- name: run integration tests on Windows
hosts: SERVER2012R2
- gather_facts: no
+ gather_facts: false
tags:
- windows
tasks:
- name: template out tests
- win_template:
+ ansible.windows.win_template:
src: test_integration.py.tmpl
dest: C:\temp\test_integration.py
block_start_string: '{!!'
block_end_string: '!!}'
- name: run integration tests as a normal user account
- win_command: '"{{ python_venv_path }}\{{ item | win_basename
}}\Scripts\python.exe" -m pytest C:\temp\test_integration.py -v'
+ ansible.windows.win_command: >
+ "{{ python_venv_path }}\{{ item | win_basename }}\Scripts\python.exe"
+ -m
+ pytest
+ C:\temp\test_integration.py
+ -v
with_items: '{{ python_interpreters }}'
- become: yes
+ become: true
become_method: runas
vars:
ansible_become_user: '{{ domain_upn }}'
ansible_become_pass: '{{ domain_password }}'
- name: run integration tests as the SYSTEM account
- win_command: '"{{ python_venv_path }}\{{ item | win_basename
}}\Scripts\python.exe" -m pytest C:\temp\test_integration.py -v'
+ ansible.windows.win_command: >
+ "{{ python_venv_path }}\{{ item | win_basename }}\Scripts\python.exe"
+ -m
+ pytest
+ C:\temp\test_integration.py
+ -v
with_items: '{{ python_interpreters }}'
- become: yes
+ become: true
become_method: runas
become_user: SYSTEM
- name: run integration tests on Linux
hosts: linux_children
- gather_facts: no
+ gather_facts: false
tags:
- linux
tasks:
- name: template out tests
- template:
+ ansible.builtin.template:
src: test_integration.py.tmpl
dest: ~/test_integration.py
block_start_string: '{!!'
block_end_string: '!!}'
- name: run integration tests
- command: '"{{ python_venv_path }}/{{ item | basename }}/bin/python" -m
pytest ~/test_integration.py -v --forked'
+ ansible.builtin.command: >
+ "{{ python_venv_path }}/{{ item | basename }}/bin/python"
+ -m
+ pytest
+ ~/test_integration.py
+ -v
+ --forked
with_items: '{{ python_interpreters }}'