2015-11-06 15:55:09 +00:00
|
|
|
|
%global pypi_name websockets
|
|
|
|
|
|
2023-07-04 14:11:32 +00:00
|
|
|
|
%ifarch x86_64
|
2022-02-03 02:46:09 +00:00
|
|
|
|
%bcond_without tests
|
|
|
|
|
%endif
|
|
|
|
|
|
2015-11-06 15:55:09 +00:00
|
|
|
|
Name: python-%{pypi_name}
|
2023-06-28 21:24:53 +00:00
|
|
|
|
Version: 11.0.3
|
2023-07-04 12:53:49 +00:00
|
|
|
|
Release: 3%{?dist}
|
2022-02-22 12:17:18 +00:00
|
|
|
|
Summary: Implementation of the WebSocket Protocol for Python
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
License: BSD
|
2021-07-19 21:21:41 +00:00
|
|
|
|
URL: https://github.com/aaugustin/websockets
|
2023-06-28 21:48:52 +00:00
|
|
|
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 09:44:04 +00:00
|
|
|
|
BuildRequires: gcc
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2023-06-28 21:48:52 +00:00
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
|
%endif
|
|
|
|
|
|
2022-02-03 00:09:43 +00:00
|
|
|
|
%global _description %{expand:
|
|
|
|
|
websockets is a library for developing WebSocket servers and clients in
|
|
|
|
|
Python. It implements RFC 6455 with a focus on correctness and simplicity. It
|
|
|
|
|
passes the Autobahn Testsuite.
|
|
|
|
|
|
|
|
|
|
Built on top of Python’s asynchronous I/O support introduced in PEP 3156, it
|
|
|
|
|
provides an API based on coroutines, making it easy to write highly concurrent
|
|
|
|
|
applications.}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%description %{_description}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
2018-07-16 09:44:04 +00:00
|
|
|
|
Summary: %{summary}
|
2022-02-03 02:46:09 +00:00
|
|
|
|
BuildRequires: python3-devel
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%description -n python3-%{pypi_name} %{_description}
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
2018-07-16 11:32:20 +00:00
|
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
2022-02-03 00:09:43 +00:00
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
2023-06-28 21:48:52 +00:00
|
|
|
|
%pyproject_buildrequires
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2022-02-03 00:09:43 +00:00
|
|
|
|
%pyproject_wheel
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2022-02-03 00:09:43 +00:00
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files websockets
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%check
|
2023-06-28 21:48:52 +00:00
|
|
|
|
%pyproject_check_import
|
|
|
|
|
|
2022-02-03 02:46:09 +00:00
|
|
|
|
%if %{with tests}
|
2023-06-28 21:48:52 +00:00
|
|
|
|
# Skip some tests that require network connectivity and/or a running daemon.
|
2023-07-04 14:06:48 +00:00
|
|
|
|
# Investigate: test_server_shuts_down_* tests hang or fail on Python 3.12
|
|
|
|
|
%pytest -v --ignore compliance --ignore tests/sync -k "not test_explicit_host_port and not test_server_shuts_down"
|
2022-02-03 02:46:09 +00:00
|
|
|
|
%endif
|
2019-07-13 13:54:01 +00:00
|
|
|
|
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
2022-02-03 00:09:43 +00:00
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
2017-04-05 18:10:00 +00:00
|
|
|
|
%doc README.rst
|
2015-11-06 15:55:09 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2023-07-04 12:53:49 +00:00
|
|
|
|
* Tue Jul 04 2023 Python Maint <python-maint@redhat.com> - 11.0.3-3
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
2023-06-28 21:48:52 +00:00
|
|
|
|
* Wed Jun 28 2023 Major Hayden <major@redhat.com> - 11.0.3-2
|
|
|
|
|
- Switch to GitHub source to get tests
|
|
|
|
|
- Replace tox with pytest
|
|
|
|
|
- Add pyproject_check_import
|
|
|
|
|
|
2023-06-28 21:24:53 +00:00
|
|
|
|
* Wed Jun 28 2023 Major Hayden <major@redhat.com> - 11.0.3-1
|
|
|
|
|
- Update to 11.0.3
|
|
|
|
|
|
2023-06-14 16:27:43 +00:00
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 11.0.2-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
2023-04-25 11:48:38 +00:00
|
|
|
|
* Tue Apr 25 2023 Julien Enselme <jujens@jujens.eu> - 11.0.2-1
|
|
|
|
|
- Update to 11.0.2
|
|
|
|
|
|
2023-01-20 18:23:12 +00:00
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 10.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
2022-12-06 21:54:49 +00:00
|
|
|
|
* Wed Dec 07 2022 Rommel Layco <rj.layco@gmail.com> - 10.4-1
|
|
|
|
|
- Update to 10.4
|
|
|
|
|
|
2022-08-12 11:10:45 +00:00
|
|
|
|
* Fri Aug 12 2022 Julien Enselme <jujens@jujens.eu> - 10.3-3
|
|
|
|
|
- Rebuild to update Python bytecode files.
|
|
|
|
|
|
2022-07-22 23:25:15 +00:00
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
2022-07-08 22:32:12 +00:00
|
|
|
|
* Sat Jul 09 2022 Fabian Affolter <mail@fabian-affolter.ch> - 10.3-1
|
|
|
|
|
- Update to latest upstream release 10.3 (closes rhbz#2076066)
|
|
|
|
|
|
2022-06-13 18:21:50 +00:00
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 10.2-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
2022-02-22 12:17:18 +00:00
|
|
|
|
* Tue Feb 22 2022 Fabian Affolter <mail@fabian-affolter.ch> - 10.2-1
|
|
|
|
|
- Update to latest upstream release 10.2 (closes rhbz#2056433)
|
|
|
|
|
|
2022-02-03 02:46:09 +00:00
|
|
|
|
* Thu Feb 03 2022 Carl George <carl@george.computer> - 10.1-1
|
|
|
|
|
- Latest upstream rhbz#2023114
|
|
|
|
|
- Only run tests on x86 architectures
|
|
|
|
|
|
2022-02-03 00:09:43 +00:00
|
|
|
|
* Wed Feb 02 2022 Carl George <carl@george.computer> - 10.0-3
|
|
|
|
|
- Convert to pyproject macros
|
|
|
|
|
- Run test suite in %%check
|
|
|
|
|
|
2022-01-21 16:28:26 +00:00
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
2021-09-10 08:32:26 +00:00
|
|
|
|
* Fri Sep 10 2021 Tomas Hrnciar <thrnciar@redhat.com> - 10.0-1
|
|
|
|
|
- Update to 10.0
|
|
|
|
|
- Fixes: rhbz#2002542
|
|
|
|
|
|
2021-07-19 21:21:41 +00:00
|
|
|
|
* Mon Jul 19 2021 Carl George <carl@george.computer> - 9.1-1
|
|
|
|
|
- Latest upstream
|
|
|
|
|
- Resolves: rhbz#1955976
|
|
|
|
|
|
2021-06-04 19:08:53 +00:00
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 8.1-4
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
2021-01-27 14:10:45 +00:00
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
2020-07-29 04:37:09 +00:00
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
2020-07-18 12:36:38 +00:00
|
|
|
|
* Sat Jul 18 2020 Julien Enselme <jujens@jujens.eu> - 8.1-1
|
|
|
|
|
- Update to 8.1
|
|
|
|
|
|
2020-05-26 01:45:49 +00:00
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-5
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
2020-01-30 16:11:34 +00:00
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2019-10-03 12:35:45 +00:00
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-3
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
2019-08-21 17:16:21 +00:00
|
|
|
|
* Wed Aug 21 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0.2-2
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
2019-08-20 12:00:30 +00:00
|
|
|
|
* Tue Aug 20 2019 Julien Enselme <jujens@jujens> - 8.0.2-1
|
|
|
|
|
- Update to 8.0.2
|
|
|
|
|
|
2019-08-19 09:01:53 +00:00
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.0-4
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
2019-07-26 17:04:23 +00:00
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
2019-07-13 17:02:51 +00:00
|
|
|
|
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 8.0-2
|
|
|
|
|
- Skip tests because it prevents rebuild for Python 3.8. They fail because tests check the number of deprecation warnings and more are raised on Python 3.8.
|
|
|
|
|
|
2019-07-13 13:54:01 +00:00
|
|
|
|
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 8.0-1
|
|
|
|
|
- Update to 8.0
|
|
|
|
|
|
2019-02-02 10:02:31 +00:00
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
2018-07-20 21:36:19 +00:00
|
|
|
|
* Fri Jul 20 2018 Julien Enselme <jujens@jujens.eu> - 6.0
|
|
|
|
|
- Update to 6.0
|
|
|
|
|
|
2018-07-14 02:37:22 +00:00
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
2018-06-19 09:24:08 +00:00
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.0.1-2
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
2018-06-02 12:12:57 +00:00
|
|
|
|
* Sat Jun 02 2018 Julien Enselme <jujens@jujens.eu> - 5.0.1-1
|
|
|
|
|
- Update to 5.0.1
|
|
|
|
|
|
2018-02-09 11:38:40 +00:00
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
2017-11-06 09:52:55 +00:00
|
|
|
|
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 4.0.1-1
|
|
|
|
|
- Update to 4.0.1
|
|
|
|
|
|
2017-08-21 17:48:19 +00:00
|
|
|
|
* Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-2
|
|
|
|
|
- Remove tests with timeouts
|
|
|
|
|
|
2017-08-21 17:28:39 +00:00
|
|
|
|
* Mon Aug 21 2017 Julien Enselme <jujens@jujens.eu> - 3.4-1
|
|
|
|
|
- Update to 3.4
|
|
|
|
|
|
2017-07-27 12:15:54 +00:00
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
2017-04-05 18:10:00 +00:00
|
|
|
|
* Wed Apr 05 2017 Julien Enselme <jujens@jujens.eu> - 3.3-1
|
|
|
|
|
- Update to 3.3
|
|
|
|
|
|
2017-02-11 10:54:26 +00:00
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
2016-12-19 17:20:38 +00:00
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.2-3
|
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
|
2016-09-18 15:52:42 +00:00
|
|
|
|
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 3.2-2
|
|
|
|
|
- Correct tests on Python 3.5.2
|
|
|
|
|
|
2016-09-18 10:03:05 +00:00
|
|
|
|
* Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 3.2-1
|
2016-09-18 09:58:02 +00:00
|
|
|
|
- Update to 3.2
|
|
|
|
|
|
2016-07-19 12:09:37 +00:00
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
2016-06-21 15:23:56 +00:00
|
|
|
|
* Tue Jun 21 2016 Julien Enselme <jujens@jujens.eu> - 3.1-1
|
|
|
|
|
- Update to 3.1
|
|
|
|
|
|
2016-02-14 08:36:53 +00:00
|
|
|
|
* Sun Feb 14 2016 Julien Enselme <jujens@jujens.eu> - 3.0-1
|
|
|
|
|
- Update to 3.0
|
|
|
|
|
- Correct build on rawhide
|
|
|
|
|
|
2016-02-04 21:21:34 +00:00
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
2015-11-22 22:05:32 +00:00
|
|
|
|
* Sun Nov 22 2015 Julien Enselme <jujens@jujens.eu> - 2.7-1
|
|
|
|
|
- Update to 2.7
|
|
|
|
|
|
2015-11-12 11:59:07 +00:00
|
|
|
|
* Thu Nov 12 2015 Kalev Lember <klember@redhat.com> - 2.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
|
2015-11-06 15:55:09 +00:00
|
|
|
|
* Wed Aug 26 2015 Julien Enselme <jujens@jujens.eu> - 2.6-1
|
|
|
|
|
- Initial package
|