Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
sqlfluff


Commits:
029966d4 by Carl Smedstad at 2025-10-18T22:31:55+02:00
upgpkg: 3.5.0-1: Upstream release

https://github.com/sqlfluff/sqlfluff/releases/tag/3.5.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = sqlfluff
        pkgdesc = A dialect-flexible and configurable SQL linter
-       pkgver = 3.4.2
+       pkgver = 3.5.0
        pkgrel = 1
        url = https://github.com/sqlfluff/sqlfluff
        arch = any
@@ -23,10 +23,9 @@ pkgbase = sqlfluff
        depends = python-pytest
        depends = python-regex
        depends = python-tblib
-       depends = python-toml
        depends = python-tqdm
        depends = python-yaml
-       source = 
sqlfluff-3.4.2.tar.gz::https://github.com/sqlfluff/sqlfluff/archive/3.4.2.tar.gz
-       b2sums = 
c8589336f517c6af1da1c76706cc7f87cbac0bd3850ccf8609a988c00d85081fc56ebc4a5738b6e7af7b2057663de852c3669926316ddbb79376c2b5ac27d4d1
+       source = 
https://github.com/sqlfluff/sqlfluff/archive/3.5.0/sqlfluff-3.5.0.tar.gz
+       b2sums = 
c2d40e554310f5fabe94f782f9d62ad409f59a22d5770947401d2e541375246abbb8caf04341bfb435c7cc45301349f7699e4adcdaa9f168cb403a8ad4e59965
 
 pkgname = sqlfluff


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Morteza NourelahiAlamdari <[email protected]>
 
 pkgname=sqlfluff
-pkgver=3.4.2
+pkgver=3.5.0
 pkgrel=1
 pkgdesc='A dialect-flexible and configurable SQL linter'
 arch=('any')
@@ -22,7 +22,6 @@ depends=(
   'python-pytest'
   'python-regex'
   'python-tblib'
-  'python-toml'
   'python-tqdm'
   'python-yaml'
 )
@@ -36,8 +35,8 @@ checkdepends=(
   'python-hypothesis'
   'python-pytest-xdist'
 )
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-b2sums=('c8589336f517c6af1da1c76706cc7f87cbac0bd3850ccf8609a988c00d85081fc56ebc4a5738b6e7af7b2057663de852c3669926316ddbb79376c2b5ac27d4d1')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('c2d40e554310f5fabe94f782f9d62ad409f59a22d5770947401d2e541375246abbb8caf04341bfb435c7cc45301349f7699e4adcdaa9f168cb403a8ad4e59965')
 
 build() {
   cd $pkgname-$pkgver
@@ -46,11 +45,10 @@ build() {
 
 check() {
   cd $pkgname-$pkgver
-  python -m installer --destdir=tmp_install dist/*.whl
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  export PYTHONPATH="$PWD/tmp_install/${site_packages}"
-  export PATH="$PWD/tmp_install/usr/bin:$PATH"
-  pytest -n=auto \
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  PATH="$PWD/test-env/bin:$PATH" test-env/bin/python -m pytest -n=auto \
+    
--deselect='test/core/linter/discovery_test.py::test__linter__path_from_paths__ignore[test/fixtures/linter/sqlfluffignore]'
 \
     
--deselect='test/core/plugin_test.py::test__plugin_default_config_read[Example_L001-forbidden_columns]'
 \
     
--deselect='test/core/plugin_test.py::test__plugin_example_rules_returned[Rule_Example_L001]'
 \
     
--deselect='test/core/plugin_test.py::test__plugin_manager_registers_example_plugin'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sqlfluff/-/commit/029966d45162700a5fef76d7976568f054281742

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sqlfluff/-/commit/029966d45162700a5fef76d7976568f054281742
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to