Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-six is missing in pythonnative #286

Open
persianpros opened this issue Oct 15, 2020 · 2 comments
Open

python-six is missing in pythonnative #286

persianpros opened this issue Oct 15, 2020 · 2 comments

Comments

@persianpros
Copy link
Contributor

There are some issues and compatibility problems regarding python 2 and 3 so some developers use

python-six

and pythonnative doesn't support it so the result is

ImportError: No module named six

We need python-six in both native and end-user environments so please add it.

Making python 2 codes compatible with 3 is easy using python-six

@priv-kweihmann
Copy link
Contributor

priv-kweihmann commented Nov 2, 2020

Why not add a python-six_%.bbappend file with the content BBCLASSEXTEND = "native" to your layer?
That's how everybody else is doing it...

@kraj
Copy link
Contributor

kraj commented Nov 2, 2020

right and meta-python2 is where this recipe belongs to. We have removed need for py2 in meta-openemedded.

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jul 17, 2023
0.21.1
- Output a proper error message when an invalid asyncio_mode is selected.
- Extend warning message about unclosed event loops with additional
  possible cause. openembedded#531
- Previously, some tests reported "skipped" or "xfailed" as a result.
  Now all tests report a "success" result.

0.21.0
- Drop compatibility with pytest 6.1. Pytest-asyncio now depends on
  pytest 7.0 or newer.
- pytest-asyncio cleans up any stale event loops when setting up and
  tearing down the event_loop fixture. This behavior has been deprecated
  and pytest-asyncio emits a DeprecationWarning when tearing down the
  event_loop fixture and current event loop has not been closed.

0.18.2 (22-03-03)
- Fix asyncio auto mode not marking static methods. openembedded#295
- Fix a compatibility issue with Hypothesis 6.39.0. openembedded#302

0.18.1 (22-02-10)
- Fixes a regression that prevented async fixtures from working in
  synchronous tests.  openembedded#286

0.18.0 (22-02-07)
- Raise a warning if @pytest.mark.asyncio is applied to non-async
  function.  openembedded#275
- Support parametrized event_loop fixture.  openembedded#278

0.17.2 (22-01-17)
- Require typing-extensions on Python<3.8 only.  openembedded#269
- Fix a regression in tests collection introduced by 0.17.1, the plugin
  works fine with non-python tests again.  openembedded#267

0.17.1 (22-01-16)
- Fixes a bug that prevents async Hypothesis tests from working without
  explicit asyncio marker when --asyncio-mode=auto is set.  openembedded#258
- Fixed a bug that closes the default event loop if the loop doesn't
  exist openembedded#257
- Added type annotations.

0.17.0 (22-01-13)
- [pytest-asyncio]{.title-ref} no longer alters existing event loop
  policies.  openembedded#168, openembedded#188
- Drop support for Python 3.6
- Fixed an issue when pytest-asyncio was used in combination with
  [flaky]{.title-ref} or inherited asynchronous Hypothesis tests.  openembedded#178
  openembedded#231
- Added flaky to test dependencies
- Added unused_udp_port and unused_udp_port_factory fixtures (similar to
  unused_tcp_port and unused_tcp_port_factory counterparts.  openembedded#99
- Added the plugin modes: strict, auto, and legacy. See documentation
  for details.  openembedded#125
- Correctly process KeyboardInterrupt during async fixture setup phase
  openembedded#219

License-Update: whitespace

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 6, 2023
Changelog:
=============
 bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug openembedded#283.
 Fix for using numpy integers as integer parameters. Bug openembedded#286.
 Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
 Improvements when pretty-printing the Array.
 Array.count() can now count 'nan' values for floating point types.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 6, 2023
Changelog:
=============
 bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug openembedded#283.
 Fix for using numpy integers as integer parameters. Bug openembedded#286.
 Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
 Improvements when pretty-printing the Array.
 Array.count() can now count 'nan' values for floating point types.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 6, 2023
Changelog:
=============
 bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug openembedded#283.
 Fix for using numpy integers as integer parameters. Bug openembedded#286.
 Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
 Improvements when pretty-printing the Array.
 Array.count() can now count 'nan' values for floating point types.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 7, 2023
Changelog:
=============
 bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug openembedded#283.
 Fix for using numpy integers as integer parameters. Bug openembedded#286.
 Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
 Improvements when pretty-printing the Array.
 Array.count() can now count 'nan' values for floating point types.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Sep 7, 2023
Changelog:
=============
 bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug openembedded#283.
 Fix for using numpy integers as integer parameters. Bug openembedded#286.
 Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
 Improvements when pretty-printing the Array.
 Array.count() can now count 'nan' values for floating point types.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants