Commit Graph

21 Commits

Author SHA256 Message Date
f337b0b096 Accepting request 1162358 from home:glaubitz:branches:devel:languages:python
- Switch build system from setuptools to pyproject.toml
  + Add python-pip and python-wheel to BuildRequires
  + Replace %python_build with %pyproject_wheel
  + Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1162358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=31
2024-03-26 20:40:55 +00:00
15e729ff47 - update to 2.0.1:
* Fixes CI build (Github Actions)
  * Fixes broken tests
  * Housekeeping: Licensing
  * Disable nosetests for testing leaving only pytest as
    supported test-runner for now
- Rebase python-sure-no-mock.patch to remove one missed import.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=29
2023-12-04 10:46:49 +00:00
16726b81bb Accepting request 1092793 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=27
2023-06-14 06:37:53 +00:00
Steve Kowalik
8af5717763 - Remove mock from BuildRequires.
- Rebase python-sure-no-mock.patch to remove one missed import.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=25
2022-07-13 04:38:11 +00:00
f08ec22a6a Accepting request 974852 from home:pgajdos:python
- do not require mock for build nor runtime
- added patches
  fix https://github.com/gabrielfalcao/sure/pull/161
  + python-sure-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/974852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=23
2022-05-04 09:30:15 +00:00
59e524fdb2 Accepting request 940099 from home:bnavigator:python-rpm-macros
- Update to 2.0.0
  * No longer patch the builtin dir() function, which fixes pytest
    in some cases such as projects using gevent.

OBS-URL: https://build.opensuse.org/request/show/940099
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=22
2021-12-13 18:45:11 +00:00
071b7dcace Accepting request 814095 from home:pgajdos:python
- switch to pytest

OBS-URL: https://build.opensuse.org/request/show/814095
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=20
2020-06-12 10:45:19 +00:00
Tomáš Chvátal
da9c3db804 * Reading the version dynamically was causing import errors that caused error when installing package. Refs #144
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=18
2018-08-29 12:25:17 +00:00
Tomáš Chvátal
87ecae0d99 - Version update to 1.4.11:
* Reading the version dinamically was causing import errors that caused error when installing package. Refs #144

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=17
2018-08-29 11:48:35 +00:00
Tomáš Chvátal
062e753dd5 - Fix url for the project
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=15
2018-02-02 13:40:57 +00:00
Jan Matejek
068dca1b97 Accepting request 538962 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/538962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=13
2017-11-07 14:52:56 +00:00
Todd R
22f9f81ac6 Accepting request 497351 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Fix source URL.
- Update to version 1.4.6

OBS-URL: https://build.opensuse.org/request/show/497351
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=11
2017-05-22 16:57:00 +00:00
6a0a7cfd38 Accepting request 369048 from home:k0da:branches:devel:languages:python
- Update to 1.2.24
- Fix #48.
    Ready to fast forward, Python 3.4 support again
    Fixed a grammar nit when two things are not equal
    
- When two things are not equal to each other, they “differ from” each other.
- fix: #80
    AttributeError: 'module' object has no attribute '_CallList'
- Fix python3 setup.py file read encoding issue.
- adding carpentry build
- fixing api
- New feature:
  .should.have.thrown() alias to should.throw
  .should.have.raised() alias to should.throw
  .should.have.returned_the_value alias ro should.return_value
- make python 3 compatible again
  The function objects in python 3 have no `func_code` member anymore. Use `__code__` instead.
  The byte objects in python 3 have no `format` method. Use `encode` instead.
  The representation of the strings and encoded strings are different in python 2 and python 3 thus use PY3 from six.
  Remove unlucky example from README since python 3 returns a float and python 2 an int in this situation
  Python 2 and 3 build is working again
-Fix #48.
  AssertionBuilder.__call__ wasn't pushing through the
  _callable_args and _callable_kw attributes, so they
  weren't percolated through the assertion chain.

OBS-URL: https://build.opensuse.org/request/show/369048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=9
2016-03-10 11:11:41 +00:00
Todd R
ea12cbcedd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=8 2015-09-03 14:35:54 +00:00
Todd R
1e8a0a5de9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=7 2015-09-03 14:35:48 +00:00
Todd R
1acf55e6c9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=6 2015-09-03 14:35:43 +00:00
Stephan Kulow
91637fcaaf Accepting request 298568 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/298568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sure?expand=0&rev=1
2015-04-25 07:52:27 +00:00
Michal Čihař
8a2916f676 Accepting request 298566 from home:Nijel:branches:devel:languages:python
- Update to 1.2.10
  * No upstream changelog available
- Remove only shebang by sed
- Run testsuite directly from setup.py
- Remove not needed patches (runTestsOnly.patch, sure_hideDeps.patch)

OBS-URL: https://build.opensuse.org/request/show/298566
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=4
2015-04-22 11:46:26 +00:00
Denisart Benjamin
f5af5fd36b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=3 2015-02-09 15:25:06 +00:00
Denisart Benjamin
99db819aee Accepting request 284524 from home:rjschwei:branches:devel:languages:python
- Update to version 1.2.5
  + remove Remove-shebang-line.patch, replaced by sed expression
  + add sure_hideDeps.patch, hides implicit Python dependencies
  + add runTestsOnly.patch only run the tests with make test
  + run the package tests as part of the package build
  + No upstream changelog available

OBS-URL: https://build.opensuse.org/request/show/284524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=2
2015-02-09 15:24:33 +00:00
Denisart Benjamin
5236cfcdd6 Accepting request 207568 from home:Nijel:weblate
New python package

OBS-URL: https://build.opensuse.org/request/show/207568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=1
2013-11-21 17:03:43 +00:00