bump to 1.0.3 and switch to cf-packaged tomlplusplus
-{% set version = "0.3.5" %}
+{% set version = "1.0.3" %}
package:
name: pytomlpp
version: {{ version }}
source:
- # cannot build from github tarball, because of missing submodules, cf. dear-github/dear-github#214
- # cannot use PyPI if we want to run the test suite (and no sources are being pushed to PyPI)
- # for these reasons, we exceptionally use git_url, which does fetch submodules by default in conda-build
- git_url: https://github.com/bobfang1992/pytomlpp.git
- git_rev: {{ version }}
- git_depth: 1
+ # github tarball does not contain submodules, cf. dear-github/dear-github#214
+ # in this case, we don't mind, because tomlplusplus is packaged separately
+ url: https://github.com/bobfang1992/pytomlpp/archive/refs/tags/v{{ version }}.tar.gz
+ sha256: 2aab6d0fa71b40e35c41ab783634d64d53b46c7d79c74251eb85ace9f3b61b25
build:
# noarch: python
@@ -26,6 +24,8 @@ requirements:
- pip
- setuptools
- pybind11 >=2.5,<2.6
+ # pin exactly because that's what the upstream submodule does too
+ - tomlplusplus ==2.4.0
run:
- python
