1 Star 0 Fork 7

Gioncon/python-jsonpickle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-jsonpickle.spec 3.56 KB
一键复制 编辑 原始数据 按行查看 历史
Gioncon 提交于 2024-11-07 15:45 . Update package to version 3.4.2
%global _empty_manifest_terminate_build 0
Name: python-jsonpickle
Version: 3.4.2
Release: 1
Summary: Python library for serializing any arbitrary object graph into JSON.
License: BSD-3-Clause
URL: https://github.com/jsonpickle/jsonpickle
Source0: https://files.pythonhosted.org/packages/eb/d9/05365407d3312653498001adcebe64a14024f7189691b728610209991c46/jsonpickle-3.4.2.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Python library for serializing any arbitrary object graph into JSON.
%package -n python3-jsonpickle
Summary: Python library for serializing any arbitrary object graph into JSON.
Provides: python-jsonpickle
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-jsonpickle
Python library for serializing any arbitrary object graph into JSON.
%package help
Summary: Development documents and examples for jsonpickle
Provides: python3-jsonpickle-doc
%description help
Development documents and examples for jsonpickle.
%prep
%autosetup -n jsonpickle-%{version}
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-jsonpickle
%doc README.rst
%license LICENSE
%{python3_sitelib}/jsonpickle
%{python3_sitelib}/jsonpickle*.dist-info/
%files help
%{_docdir}/*
%changelog
* Thu Nov 07 2024 guochao <guochao@kylinos.cn> - 3.4.2-1
- Update package to version 3.4.2
- Add support for decoding <=v3.3-encoded dataframes
- Fix isort formatting
* Wed Nov 06 2024 songliyang <songliyang@kylinos.cn> - 3.4.0-1
- tree-wide: apply "garden fmt" code formatting
- Fix numpy compat issues
- Use older syntax for dict unions to fix CPython<3.9
* Fri Sep 6 2024 wanggang <wanggang1@kylinos.cn> - 3.3.0-1
- Update package to version 3.3.0
- The unpickler was updated to avoid using eval, which helps improve its security. Users can still pass safe=False to decode to use the old behavior, though this is not recommended.
- Objects can now exclude specific attributes from pickling by providing a _jsonpickle_exclude class or instance attribute. This attribute should contain the list of attribute names to exclude when pickling the object.
* Wed Jul 24 2024 liudy <liudingyao@kylinos.cn> - 3.2.2-1
- Update package to version 3.2.2
- A bug with the incorrect (de)serialization of NoneType objects has been fixed
- The unpickler was updated to avoid creating temporary functions.
- Fix test suite compatibility with Numpy 2.x
- Some basic scripts have been made to analyze benchmark results.
* Sat May 11 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 3.0.4-1
- Update package to version 3.0.4
- Fixed an issue with django.SafeString and other classes inheriting from str having read-only attribute errors (#478) (+481)
- The test suite was made compatible with pytest-ruff>=0.3.0. (+482)
- The test suite was updated to avoid deprecated SQLALchemy APIs.
- The jaraco.packaging.sphinx documentation dependency was removed.
* Tue Apr 02 2024 wangqiang <wangqiang1@kylinos.cn> - 3.0.3-1
- Update package to version 3.0.3
* Wed Jul 19 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.0.1-1
- Init package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Gioncon/python-jsonpickle.git
git@gitee.com:Gioncon/python-jsonpickle.git
Gioncon
python-jsonpickle
python-jsonpickle
master

搜索帮助